@s-ui/bundler 9.49.0 → 9.50.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.
@@ -65,11 +65,17 @@ const start = async ({config = webpackConfig, packagesToLink = program.opts().li
65
65
  const protocol = HTTPS === 'true' ? 'https' : 'http'
66
66
  const port = await choosePort(DEFAULT_PORT)
67
67
  const urls = prepareUrls(protocol, HOST, port)
68
+
69
+ const {linkAll} = program.opts()
70
+
71
+ const configVars = JSON.stringify({packagesToLink, linkAll})
72
+ const version = `${__dirname}|${configVars}`
68
73
  const nextConfig = linkLoaderConfigBuilder({
69
74
  config,
70
- linkAll: program.opts().linkAll,
75
+ linkAll,
71
76
  packagesToLink
72
77
  })
78
+ nextConfig.cache.version = version
73
79
 
74
80
  const compiler = createCompiler(nextConfig, urls)
75
81
  const serverConfig = createDevServerConfig(nextConfig, urls.lanUrlForConfig)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s-ui/bundler",
3
- "version": "9.49.0",
3
+ "version": "9.50.0",
4
4
  "description": "Config-free bundler for ES6 React apps.",
5
5
  "bin": {
6
6
  "sui-bundler": "./bin/sui-bundler.js"