mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
swap out assert for a hyper-lightweight alternative. It has what we need in doctrine
This commit is contained in:
parent
09a728e669
commit
ac0317e542
@ -46,6 +46,7 @@
|
||||
"@storybook/ui": "7.0.0-alpha.8",
|
||||
"@types/ejs": "^3.1.1",
|
||||
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10",
|
||||
"browser-assert": "^1.2.1",
|
||||
"chalk": "^4.1.0",
|
||||
"ejs": "^3.1.8",
|
||||
"esbuild": "^0.14.47",
|
||||
|
@ -42,7 +42,7 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
|
||||
aliasPlugin({
|
||||
process: require.resolve('rollup-plugin-node-polyfills/polyfills/process-es6.js'),
|
||||
util: require.resolve('rollup-plugin-node-polyfills/polyfills/util.js'),
|
||||
assert: require.resolve('rollup-plugin-node-polyfills/polyfills/assert.js'),
|
||||
assert: require.resolve('browser-assert'),
|
||||
}),
|
||||
globalExternals(definitions),
|
||||
pnpPlugin(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user