Skip to content

Commit

Permalink
fix webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
arizzitano committed Jun 6, 2017
1 parent c765a59 commit 41b078a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 216 deletions.
4 changes: 2 additions & 2 deletions dist/paragon.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/paragon.min.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"eslint-plugin-react": "^6.10.3",
"react-router-dom": "^4.1.1",
"source-map-loader": "^0.2.1",
"static-site-generator-webpack-plugin": "^3.4.1",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.4"
},
Expand Down
26 changes: 1 addition & 25 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const base = {
module: {
rules: [
{
test: /\.js$/,
test: /\.(js|jsx)$/,
exclude: /(node_modules|bower_components)/,
use: [
{
Expand Down Expand Up @@ -60,30 +60,6 @@ const additionalConfig = {
],
},
},
// docs builds the doc site for production.
docs: {
plugins: [
new StaticSiteGeneratorPlugin('main', [
'/',
'/header/',
'/inputs/',
], {}),
],
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
presets: ['env'],
},
},
},
],
},
},
// production builds the library for external consumption
production: {
entry: path.resolve('./src/index.js'),
Expand Down
Loading

0 comments on commit 41b078a

Please sign in to comment.