@storybook/builder-webpack5 6.4.0-rc.2 → 6.4.0-rc.6
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.
|
@@ -181,7 +181,9 @@ var _default = async function _default(options) {
|
|
|
181
181
|
}
|
|
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'
|
|
186
|
+
}), isProd ? null : new _WatchMissingNodeModulesPlugin.default(_coreCommon.nodeModulesPaths), isProd ? null : new _webpack.HotModuleReplacementPlugin(), new _caseSensitivePathsWebpackPlugin.default(), quiet ? null : new _webpack.ProgressPlugin({}), shouldCheckTs ? new _forkTsCheckerWebpackPlugin.default(tsCheckOptions) : null].filter(Boolean),
|
|
185
187
|
module: {
|
|
186
188
|
rules: [babelLoader, (0, _coreCommon.es6Transpiler)(), {
|
|
187
189
|
test: /\.md$/,
|
|
@@ -7,7 +7,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
7
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
|
|
9
9
|
import path from 'path';
|
|
10
|
-
import { DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin } from 'webpack';
|
|
10
|
+
import { DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin, ProvidePlugin } from 'webpack';
|
|
11
11
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
12
12
|
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
|
|
13
13
|
import WatchMissingNodeModulesPlugin from 'react-dev-utils/WatchMissingNodeModulesPlugin';
|
|
@@ -154,7 +154,9 @@ export default (async function (options) {
|
|
|
154
154
|
}
|
|
155
155
|
}), new DefinePlugin(_objectSpread(_objectSpread({}, stringifyProcessEnvs(envs)), {}, {
|
|
156
156
|
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
|
|
157
|
-
})),
|
|
157
|
+
})), new ProvidePlugin({
|
|
158
|
+
process: 'process/browser'
|
|
159
|
+
}), isProd ? null : new WatchMissingNodeModulesPlugin(nodeModulesPaths), isProd ? null : new HotModuleReplacementPlugin(), new CaseSensitivePathsPlugin(), quiet ? null : new ProgressPlugin({}), shouldCheckTs ? new ForkTsCheckerWebpackPlugin(tsCheckOptions) : null].filter(Boolean),
|
|
158
160
|
module: {
|
|
159
161
|
rules: [babelLoader, es6Transpiler(), {
|
|
160
162
|
test: /\.md$/,
|
|
@@ -7,7 +7,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
7
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
|
|
9
9
|
import path from 'path';
|
|
10
|
-
import { DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin } from 'webpack';
|
|
10
|
+
import { DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin, ProvidePlugin } from 'webpack';
|
|
11
11
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
12
12
|
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
|
|
13
13
|
import WatchMissingNodeModulesPlugin from 'react-dev-utils/WatchMissingNodeModulesPlugin';
|
|
@@ -154,7 +154,9 @@ export default (async function (options) {
|
|
|
154
154
|
}
|
|
155
155
|
}), new DefinePlugin(_objectSpread(_objectSpread({}, stringifyProcessEnvs(envs)), {}, {
|
|
156
156
|
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
|
|
157
|
-
})),
|
|
157
|
+
})), new ProvidePlugin({
|
|
158
|
+
process: 'process/browser'
|
|
159
|
+
}), isProd ? null : new WatchMissingNodeModulesPlugin(nodeModulesPaths), isProd ? null : new HotModuleReplacementPlugin(), new CaseSensitivePathsPlugin(), quiet ? null : new ProgressPlugin({}), shouldCheckTs ? new ForkTsCheckerWebpackPlugin(tsCheckOptions) : null].filter(Boolean),
|
|
158
160
|
module: {
|
|
159
161
|
rules: [babelLoader, es6Transpiler(), {
|
|
160
162
|
test: /\.md$/,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/builder-webpack5",
|
|
3
|
-
"version": "6.4.0-rc.
|
|
3
|
+
"version": "6.4.0-rc.6",
|
|
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.4.0-rc.
|
|
64
|
-
"@storybook/api": "6.4.0-rc.
|
|
65
|
-
"@storybook/channel-postmessage": "6.4.0-rc.
|
|
66
|
-
"@storybook/channels": "6.4.0-rc.
|
|
67
|
-
"@storybook/client-api": "6.4.0-rc.
|
|
68
|
-
"@storybook/client-logger": "6.4.0-rc.
|
|
69
|
-
"@storybook/components": "6.4.0-rc.
|
|
70
|
-
"@storybook/core-common": "6.4.0-rc.
|
|
71
|
-
"@storybook/core-events": "6.4.0-rc.
|
|
72
|
-
"@storybook/node-logger": "6.4.0-rc.
|
|
73
|
-
"@storybook/preview-web": "6.4.0-rc.
|
|
74
|
-
"@storybook/router": "6.4.0-rc.
|
|
63
|
+
"@storybook/addons": "6.4.0-rc.6",
|
|
64
|
+
"@storybook/api": "6.4.0-rc.6",
|
|
65
|
+
"@storybook/channel-postmessage": "6.4.0-rc.6",
|
|
66
|
+
"@storybook/channels": "6.4.0-rc.6",
|
|
67
|
+
"@storybook/client-api": "6.4.0-rc.6",
|
|
68
|
+
"@storybook/client-logger": "6.4.0-rc.6",
|
|
69
|
+
"@storybook/components": "6.4.0-rc.6",
|
|
70
|
+
"@storybook/core-common": "6.4.0-rc.6",
|
|
71
|
+
"@storybook/core-events": "6.4.0-rc.6",
|
|
72
|
+
"@storybook/node-logger": "6.4.0-rc.6",
|
|
73
|
+
"@storybook/preview-web": "6.4.0-rc.6",
|
|
74
|
+
"@storybook/router": "6.4.0-rc.6",
|
|
75
75
|
"@storybook/semver": "^7.3.2",
|
|
76
|
-
"@storybook/store": "6.4.0-rc.
|
|
77
|
-
"@storybook/theming": "6.4.0-rc.
|
|
76
|
+
"@storybook/store": "6.4.0-rc.6",
|
|
77
|
+
"@storybook/theming": "6.4.0-rc.6",
|
|
78
78
|
"@types/node": "^14.0.10",
|
|
79
79
|
"babel-loader": "^8.0.0",
|
|
80
80
|
"babel-plugin-macros": "^3.0.1",
|
|
@@ -117,6 +117,6 @@
|
|
|
117
117
|
"publishConfig": {
|
|
118
118
|
"access": "public"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "b2afbb87f07d81f5c3830748490f6dca84d8e470",
|
|
121
121
|
"sbmodern": "dist/modern/index.js"
|
|
122
122
|
}
|