Skip to content

Commit

Permalink
fix doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Jun 9, 2016
1 parent 165402c commit df8569c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"less": "lessc --autoprefix=\"ie >= 10, last 2 versions\" src/less/styles.less ./lib/css/react-big-calendar.css",
"assets": "cpy src/less/* lib/less",
"build": "npm run clean && babel src --out-dir lib && npm run assets && npm run less",
"build:examples": "npm run clean:examples && webpack --config webpack/docs.config.es6.js",
"build:examples": "npm run clean:examples && webpack --config webpack/examples.config.es6.js",
"build:visual-test": "webpack --config webpack/visual-test.es6.js",
"examples": "npm run clean:examples && babel-node ./examples/server.js",
"examples": "npm run clean:examples && webpack-dev-server --inline --hot --config webpack/examples.config.es6.js",
"lint": "eslint src --ext .jsx --ext .js",
"storybook": "start-storybook -p 9002",
"test": "npm run lint",
Expand Down
9 changes: 2 additions & 7 deletions webpack/examples.config.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,15 @@ const port = Number(process.argv[2]) || Number(process.env.PORT) || 3000

module.exports = {
port,
devtool: 'eval',
entry: [
'webpack-dev-server/client?http://localhost:' + port,
'webpack/hot/only-dev-server',
path.join(__dirname, '../examples/App.js')
],
devtool: 'source-map',
entry: path.join(__dirname, '../examples/App.js'),
output: {
path: path.join(__dirname, '../examples/'),
filename: 'bundle.js',
publicPath: '/examples/static/'
},

plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin()
],
resolve: {
Expand Down

0 comments on commit df8569c

Please sign in to comment.