@storybook/builder-webpack5 6.5.0-alpha.17 → 6.5.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -182,7 +182,7 @@ var _default = async function _default(options) {
|
|
|
182
182
|
}), new _webpack.DefinePlugin(_objectSpread(_objectSpread({}, (0, _coreCommon.stringifyProcessEnvs)(envs)), {}, {
|
|
183
183
|
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
|
|
184
184
|
})), new _webpack.ProvidePlugin({
|
|
185
|
-
process: 'process/browser.js'
|
|
185
|
+
process: require.resolve('process/browser.js')
|
|
186
186
|
}), isProd ? null : new _webpack.HotModuleReplacementPlugin(), new _caseSensitivePathsWebpackPlugin.default(), quiet ? null : new _webpack.ProgressPlugin({}), shouldCheckTs ? new _forkTsCheckerWebpackPlugin.default(tsCheckOptions) : null].filter(Boolean),
|
|
187
187
|
module: {
|
|
188
188
|
rules: [babelLoader, (0, _coreCommon.es6Transpiler)(), {
|
|
@@ -156,7 +156,7 @@ export default (async function (options) {
|
|
|
156
156
|
}), new DefinePlugin(_objectSpread(_objectSpread({}, stringifyProcessEnvs(envs)), {}, {
|
|
157
157
|
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
|
|
158
158
|
})), new ProvidePlugin({
|
|
159
|
-
process: 'process/browser.js'
|
|
159
|
+
process: require.resolve('process/browser.js')
|
|
160
160
|
}), isProd ? null : new HotModuleReplacementPlugin(), new CaseSensitivePathsPlugin(), quiet ? null : new ProgressPlugin({}), shouldCheckTs ? new ForkTsCheckerWebpackPlugin(tsCheckOptions) : null].filter(Boolean),
|
|
161
161
|
module: {
|
|
162
162
|
rules: [babelLoader, es6Transpiler(), {
|
|
@@ -156,7 +156,7 @@ export default (async function (options) {
|
|
|
156
156
|
}), new DefinePlugin(_objectSpread(_objectSpread({}, stringifyProcessEnvs(envs)), {}, {
|
|
157
157
|
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
|
|
158
158
|
})), new ProvidePlugin({
|
|
159
|
-
process: 'process/browser.js'
|
|
159
|
+
process: require.resolve('process/browser.js')
|
|
160
160
|
}), isProd ? null : new HotModuleReplacementPlugin(), new CaseSensitivePathsPlugin(), quiet ? null : new ProgressPlugin({}), shouldCheckTs ? new ForkTsCheckerWebpackPlugin(tsCheckOptions) : null].filter(Boolean),
|
|
161
161
|
module: {
|
|
162
162
|
rules: [babelLoader, es6Transpiler(), {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/builder-webpack5",
|
|
3
|
-
"version": "6.5.0-alpha.
|
|
3
|
+
"version": "6.5.0-alpha.20",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -60,21 +60,21 @@
|
|
|
60
60
|
"@babel/preset-env": "^7.12.11",
|
|
61
61
|
"@babel/preset-react": "^7.12.10",
|
|
62
62
|
"@babel/preset-typescript": "^7.12.7",
|
|
63
|
-
"@storybook/addons": "6.5.0-alpha.
|
|
64
|
-
"@storybook/api": "6.5.0-alpha.
|
|
65
|
-
"@storybook/channel-postmessage": "6.5.0-alpha.
|
|
66
|
-
"@storybook/channels": "6.5.0-alpha.
|
|
67
|
-
"@storybook/client-api": "6.5.0-alpha.
|
|
68
|
-
"@storybook/client-logger": "6.5.0-alpha.
|
|
69
|
-
"@storybook/components": "6.5.0-alpha.
|
|
70
|
-
"@storybook/core-common": "6.5.0-alpha.
|
|
71
|
-
"@storybook/core-events": "6.5.0-alpha.
|
|
72
|
-
"@storybook/node-logger": "6.5.0-alpha.
|
|
73
|
-
"@storybook/preview-web": "6.5.0-alpha.
|
|
74
|
-
"@storybook/router": "6.5.0-alpha.
|
|
63
|
+
"@storybook/addons": "6.5.0-alpha.20",
|
|
64
|
+
"@storybook/api": "6.5.0-alpha.20",
|
|
65
|
+
"@storybook/channel-postmessage": "6.5.0-alpha.20",
|
|
66
|
+
"@storybook/channels": "6.5.0-alpha.20",
|
|
67
|
+
"@storybook/client-api": "6.5.0-alpha.20",
|
|
68
|
+
"@storybook/client-logger": "6.5.0-alpha.20",
|
|
69
|
+
"@storybook/components": "6.5.0-alpha.20",
|
|
70
|
+
"@storybook/core-common": "6.5.0-alpha.20",
|
|
71
|
+
"@storybook/core-events": "6.5.0-alpha.20",
|
|
72
|
+
"@storybook/node-logger": "6.5.0-alpha.20",
|
|
73
|
+
"@storybook/preview-web": "6.5.0-alpha.20",
|
|
74
|
+
"@storybook/router": "6.5.0-alpha.20",
|
|
75
75
|
"@storybook/semver": "^7.3.2",
|
|
76
|
-
"@storybook/store": "6.5.0-alpha.
|
|
77
|
-
"@storybook/theming": "6.5.0-alpha.
|
|
76
|
+
"@storybook/store": "6.5.0-alpha.20",
|
|
77
|
+
"@storybook/theming": "6.5.0-alpha.20",
|
|
78
78
|
"@types/node": "^14.0.10 || ^16.0.0",
|
|
79
79
|
"babel-loader": "^8.0.0",
|
|
80
80
|
"babel-plugin-named-exports-order": "^0.0.2",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"glob-promise": "^3.4.0",
|
|
87
87
|
"html-webpack-plugin": "^5.0.0",
|
|
88
88
|
"path-browserify": "^1.0.1",
|
|
89
|
+
"process": "^0.11.10",
|
|
89
90
|
"stable": "^0.1.8",
|
|
90
91
|
"style-loader": "^2.0.0",
|
|
91
92
|
"terser-webpack-plugin": "^5.0.3",
|
|
@@ -115,6 +116,6 @@
|
|
|
115
116
|
"publishConfig": {
|
|
116
117
|
"access": "public"
|
|
117
118
|
},
|
|
118
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "8b9f966f4378d540c767bdbeb1840f910ebc3375",
|
|
119
120
|
"sbmodern": "dist/modern/index.js"
|
|
120
121
|
}
|