-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump monosize to latest (#579)
- Loading branch information
1 parent
b5dd894
commit 7100d71
Showing
6 changed files
with
181 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
import path from 'path'; | ||
import path from 'node:path'; | ||
import upstashStorage from 'monosize-storage-upstash'; | ||
import webpackBundler from 'monosize-bundler-webpack'; | ||
|
||
const dirname = new URL('.', import.meta.url).pathname; | ||
|
||
export default { | ||
repository: 'https://github.com/microsoft/griffel', | ||
bundler: webpackBundler(config => ({ | ||
...config, | ||
resolve: { | ||
...config.resolve, | ||
alias: { | ||
'@griffel/core': path.resolve(dirname, './dist/packages/core/index.esm.js'), | ||
'@griffel/shadow-dom': path.resolve(dirname, './dist/packages/shadow-dom/index.esm.js'), | ||
'@griffel/react': path.resolve(dirname, './dist/packages/react/index.esm.js'), | ||
}, | ||
}, | ||
})), | ||
storage: upstashStorage({ | ||
url: 'https://us1-nearby-hyena-35747.upstash.io', | ||
readonlyToken: | ||
'AoujASQgNGQwNGI0YjAtNmExNy00MzNjLWIwNTQtMTIyMGRlODQwZDk2QaCJNVtEfHj6pDLLscOcgMEt-Be1VWcMYbMRR_EqVCw=', | ||
}), | ||
webpack: config => { | ||
return { | ||
...config, | ||
resolve: { | ||
...config.resolve, | ||
alias: { | ||
'@griffel/core': path.resolve(dirname, './dist/packages/core/index.esm.js'), | ||
'@griffel/shadow-dom': path.resolve(dirname, './dist/packages/shadow-dom/index.esm.js'), | ||
'@griffel/react': path.resolve(dirname, './dist/packages/react/index.esm.js'), | ||
}, | ||
}, | ||
}; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.