forked from AkkomaGang/admin-fe
Merge branch 'chore/remove-inline-js' into 'master'
Remove inline javascript See merge request pleroma/admin-fe!16
This commit is contained in:
commit
2145acb4c4
1 changed files with 0 additions and 4 deletions
|
@ -70,10 +70,6 @@ const webpackConfig = merge(baseWebpackConfig, {
|
||||||
// in certain cases, and in webpack 4, chunk order in HTML doesn't
|
// in certain cases, and in webpack 4, chunk order in HTML doesn't
|
||||||
// matter anyway
|
// matter anyway
|
||||||
}),
|
}),
|
||||||
new ScriptExtHtmlWebpackPlugin({
|
|
||||||
//`runtime` must same as runtimeChunk name. default is `runtime`
|
|
||||||
inline: /runtime\..*\.js$/
|
|
||||||
}),
|
|
||||||
// keep chunk.id stable when chunk has no name
|
// keep chunk.id stable when chunk has no name
|
||||||
new webpack.NamedChunksPlugin(chunk => {
|
new webpack.NamedChunksPlugin(chunk => {
|
||||||
if (chunk.name) {
|
if (chunk.name) {
|
||||||
|
|
Loading…
Reference in a new issue