@nitro-web/webpack 0.3.11 → 0.3.13
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.config.d.ts","sourceRoot":"","sources":["../webpack.config.js"],"names":[],"mappings":"AA0CO,yCAWG,QAAG,EAAE,SAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"webpack.config.d.ts","sourceRoot":"","sources":["../webpack.config.js"],"names":[],"mappings":"AA0CO,yCAWG,QAAG,EAAE,SAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0RlB"}
|
package/webpack.config.js
CHANGED
|
@@ -298,6 +298,7 @@ export const getConfig = (config) => {
|
|
|
298
298
|
isDemo: !!process.env.isDemo,
|
|
299
299
|
isStatic: !!process.env.isStatic,
|
|
300
300
|
jwtName: 'nitro-jwt' + (isBuild ? '' : '-' + formatSlug(name)),
|
|
301
|
+
themeName: 'nitro-theme' + (isBuild ? '' : '-' + formatSlug(name)),
|
|
301
302
|
version: process.env.isDemo ? nitroVersion : version,
|
|
302
303
|
}),
|
|
303
304
|
}),
|
|
@@ -307,7 +308,7 @@ export const getConfig = (config) => {
|
|
|
307
308
|
}),
|
|
308
309
|
new MiniCssExtractPlugin({ filename: `assets/bundle.[name]${isBuild ? '.[contenthash]' : ''}.css` }),
|
|
309
310
|
new HtmlWebpackPlugin({ template: clientDir + 'index.html', filename: distDir + 'index.html' }),
|
|
310
|
-
new InterpolateHtmlPlugin(HtmlWebpackPlugin, { PUBLIC_PATH: publicPathResolved, NAME: name
|
|
311
|
+
new InterpolateHtmlPlugin(HtmlWebpackPlugin, { PUBLIC_PATH: publicPathResolved, NAME: name }),
|
|
311
312
|
new CleanTerminalPlugin({ skipFirstRun: true }),
|
|
312
313
|
// !isBuild && new ReactRefreshWebpackPlugin({ overlay: false }),
|
|
313
314
|
].filter(Boolean),
|