-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from GSA/sc_update-webpack
Update webpack style loaders
- Loading branch information
Showing
5 changed files
with
556 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"defaults": { | ||
"timeout": 20000, | ||
"timeout": 30000, | ||
"wait": 1000, | ||
"standard": "WCAG2AA", | ||
"ignore": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
const webpack = require('webpack'); | ||
const merge = require('webpack-merge'); | ||
const path = require('path'); | ||
const shared = require('./webpack.shared'); | ||
const webpack = require('webpack') | ||
const merge = require('webpack-merge') | ||
const path = require('path') | ||
const shared = require('./webpack.shared') | ||
|
||
const dev = { | ||
mode: 'development', | ||
devtool: 'cheap-module-eval-source-map', | ||
devtool: 'eval-source-map', | ||
devServer: { | ||
hot: true, | ||
publicPath: '/', | ||
historyApiFallback: true | ||
}, | ||
plugins: [ | ||
new webpack.HotModuleReplacementPlugin() | ||
] | ||
}; | ||
plugins: [new webpack.HotModuleReplacementPlugin()] | ||
} | ||
|
||
module.exports = merge(shared, dev); | ||
module.exports = merge(shared, dev) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.