mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
Add back copy plugin changes
This commit is contained in:
@@ -35,11 +35,18 @@ module.exports = env => ({
|
|||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
// exclude locale files in moment
|
// exclude locale files in moment
|
||||||
new CopyPlugin([
|
new CopyPlugin({
|
||||||
{ from: '.', to: '../', ignore: ['manifest.json'] }
|
patterns: [
|
||||||
],
|
{
|
||||||
{context: 'public' }
|
from: '.',
|
||||||
),
|
to: '../',
|
||||||
|
globOptions: {
|
||||||
|
ignore: ['manifest.json'],
|
||||||
|
},
|
||||||
|
context: './public',
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}),
|
||||||
new BuildManifest({
|
new BuildManifest({
|
||||||
browser: env.browser,
|
browser: env.browser,
|
||||||
pretty: env.mode === "production",
|
pretty: env.mode === "production",
|
||||||
|
|||||||
Reference in New Issue
Block a user