Skip to content

Commit

Permalink
update webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
kintesh committed Aug 30, 2019
1 parent 53f1c9e commit a365de3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Install the latest release for Firefox from [AMO](https://addons.mozilla.org/en-
# Usage

## Basic mapping
\

`amazon.co.uk, Shopping` will open all amazon.co.uk (not subdomains) links in Shopping container.

## Glob
Expand Down
2 changes: 2 additions & 0 deletions webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const merge = require('webpack-merge');
const common = require('./webpack.common.js');

module.exports = merge(common, {
mode: 'development',

devtool: 'inline-source-map',

plugins: [
Expand Down
2 changes: 2 additions & 0 deletions webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const merge = require('webpack-merge');
const common = require('./webpack.common.js');

module.exports = merge(common, {
mode: 'production',

plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production'),
Expand Down

0 comments on commit a365de3

Please sign in to comment.