Bug 1565088 - Add AUTO-GENERATED message to top of bundle.js to satisfy license lint (#5174)
This commit is contained in:
Родитель
8dccdc7c29
Коммит
d67e2fb835
|
@ -18,7 +18,12 @@ module.exports = (env = {}) => ({
|
|||
},
|
||||
// TODO: switch to eval-source-map for faster builds. Requires CSP changes
|
||||
devtool: env.development ? "inline-source-map" : false,
|
||||
plugins: [new webpack.optimize.ModuleConcatenationPlugin()],
|
||||
plugins: [
|
||||
new webpack.BannerPlugin(
|
||||
`THIS FILE IS AUTO-GENERATED: ${path.basename(__filename)}`
|
||||
),
|
||||
new webpack.optimize.ModuleConcatenationPlugin(),
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче