1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove extra .js in chuck filenames

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen 2020-12-15 12:06:25 +08:00
parent 696f4a39d4
commit c2997fce37
No known key found for this signature in database
GPG Key ID: A28B7834EFA73792
2 changed files with 4 additions and 4 deletions

View File

@ -41,10 +41,10 @@ export default function (): webpack.Configuration {
splitChunks: isDevelopment ? {
// chunks can be shared even between async and non-async chunks
chunks: "all",
name: `${appName}.main.chucks.js`
name: `${appName}.main.chucks`
} : false,
runtimeChunk: isDevelopment ? {
name: `${appName}.main.chucks.runtime.js`,
name: `${appName}.main.chucks.runtime`,
} : false,
},
module: {

View File

@ -86,10 +86,10 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
splitChunks: isDevelopment ? {
// chunks can be shared even between async and non-async chunks
chunks: "all",
name: `${appName}.renderer.chucks.js`
name: `${appName}.renderer.chucks`
}: false,
runtimeChunk: isDevelopment ? {
name: `${appName}.renderer.chucks.runtime.js`,
name: `${appName}.renderer.chucks.runtime`,
}: false,
},