You've already forked tf2wikipricing
feat: use source-map devtool on dev builds
This commit is contained in:
@@ -22,9 +22,10 @@ const defines = {
|
|||||||
__VERSION__: JSON.stringify(package.version),
|
__VERSION__: JSON.stringify(package.version),
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = [
|
module.exports = (env, argv) => [
|
||||||
// WebExtension
|
// WebExtension
|
||||||
{
|
{
|
||||||
|
devtool: argv.mode === 'production' ? false : 'source-map',
|
||||||
entry: {
|
entry: {
|
||||||
content: './src/content/content.ts',
|
content: './src/content/content.ts',
|
||||||
background: './src/background/background.ts',
|
background: './src/background/background.ts',
|
||||||
|
|||||||
Reference in New Issue
Block a user