@s-ui/bundler 9.56.0 → 9.57.0-beta.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s-ui/bundler",
3
- "version": "9.56.0",
3
+ "version": "9.57.0-beta.0",
4
4
  "description": "Config-free bundler for ES6 React apps.",
5
5
  "bin": {
6
6
  "sui-bundler": "./bin/sui-bundler.js"
@@ -22,6 +22,7 @@
22
22
  "homepage": "https://github.com/SUI-Components/sui/tree/master/packages/sui-bundler#readme",
23
23
  "dependencies": {
24
24
  "@babel/core": "7.18.10",
25
+ "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
25
26
  "@s-ui/helpers": "1",
26
27
  "@s-ui/sass-loader": "1",
27
28
  "address": "1.2.2",
@@ -38,10 +39,12 @@
38
39
  "find-free-ports": "3.0.0",
39
40
  "html-webpack-plugin": "5.5.0",
40
41
  "https-browserify": "1.0.0",
42
+ "million": "3.0.3",
41
43
  "mini-css-extract-plugin": "2.7.7",
42
44
  "postcss": "8.4.31",
43
45
  "postcss-loader": "7.3.4",
44
46
  "process": "0.11.10",
47
+ "react-refresh": "0.14.0",
45
48
  "sass": "1.54.5",
46
49
  "stream-http": "3.2.0",
47
50
  "strip-ansi": "6.0.1",
@@ -50,8 +53,6 @@
50
53
  "webpack": "5.82.1",
51
54
  "webpack-dev-server": "4.10.0",
52
55
  "webpack-manifest-plugin": "5.0.0",
53
- "webpack-node-externals": "3.0.0",
54
- "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
55
- "react-refresh": "0.14.0"
56
+ "webpack-node-externals": "3.0.0"
56
57
  }
57
58
  }
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable no-console */
4
4
  const webpack = require('webpack')
5
5
  const path = require('path')
6
+ const million = require('million/compiler')
6
7
 
7
8
  const HtmlWebpackPlugin = require('html-webpack-plugin')
8
9
  const {WebpackManifestPlugin} = require('webpack-manifest-plugin')
@@ -100,7 +101,8 @@ const webpackConfig = {
100
101
  template: './index.html'
101
102
  }),
102
103
  new InlineChunkHtmlPlugin(HtmlWebpackPlugin, [/runtime/]),
103
- new WebpackManifestPlugin({fileName: 'asset-manifest.json'})
104
+ new WebpackManifestPlugin({fileName: 'asset-manifest.json'}),
105
+ million.webpack({auto: true})
104
106
  ]),
105
107
  module: {
106
108
  rules: cleanList([
@@ -1,5 +1,6 @@
1
1
  const webpack = require('webpack')
2
2
  const webpackNodeExternals = require('webpack-node-externals')
3
+ const million = require('million/compiler')
3
4
  const path = require('path')
4
5
 
5
6
  const {config, when, cleanList} = require('./shared/index.js')
@@ -44,7 +45,7 @@ const webpackConfig = {
44
45
  compression: !isProduction ? 'gzip' : false
45
46
  },
46
47
  externals: [webpackNodeExternals()],
47
- plugins: [new webpack.DefinePlugin({'global.GENTLY': false})],
48
+ plugins: [new webpack.DefinePlugin({'global.GENTLY': false}), million.webpack({auto: true})],
48
49
  resolveLoader,
49
50
  module: {
50
51
  rules: cleanList([