@s-ui/bundler 9.32.0 → 9.33.0
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.
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ const EXCLUDED_FOLDERS_REGEXP = new RegExp(
|
|
|
5
5
|
`node_modules(?!${path.sep}@s-ui(${path.sep}studio)(${path.sep}workbench)?${path.sep}src)`
|
|
6
6
|
)
|
|
7
7
|
|
|
8
|
-
module.exports = ({isServer = false
|
|
8
|
+
module.exports = ({isServer = false} = {}) => ({
|
|
9
9
|
test: /\.jsx?$/,
|
|
10
10
|
exclude: EXCLUDED_FOLDERS_REGEXP,
|
|
11
11
|
use: [
|
|
@@ -21,7 +21,7 @@ module.exports = ({isServer = false, supportLegacyBrowsers = false} = {}) => ({
|
|
|
21
21
|
require.resolve('babel-preset-sui'),
|
|
22
22
|
{
|
|
23
23
|
isServer,
|
|
24
|
-
supportLegacyBrowsers,
|
|
24
|
+
supportLegacyBrowsers: true,
|
|
25
25
|
targets: config.targets
|
|
26
26
|
}
|
|
27
27
|
]
|
package/webpack.config.prod.js
CHANGED
|
@@ -111,7 +111,7 @@ const webpackConfig = {
|
|
|
111
111
|
]),
|
|
112
112
|
module: {
|
|
113
113
|
rules: cleanList([
|
|
114
|
-
createBabelRules(
|
|
114
|
+
createBabelRules(),
|
|
115
115
|
sassRules,
|
|
116
116
|
when(config['externals-manifest'], () =>
|
|
117
117
|
manifestLoaderRules(config['externals-manifest'])
|