Skip to content

Commit 55db756

Browse files
author
danielcaldas
committed
Update sandbox bundle. Update package.json dist script
1 parent 32c8bf8 commit 55db756

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,4 @@ dist/
6868
coverage
6969
sandbox/rd3g.sandbox.bundle.js.map
7070
gen-docs
71+
.DS_Store

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"dev": "node_modules/.bin/webpack-dev-server -d --content-base sandbox --inline --hot --port 3002",
99
"dist": "node_modules/.bin/npm-run-all --parallel dist:*",
10-
"dist:rd3g": "webpack --config webpack.config.dist.js -p --display-modules",
10+
"dist:rd3g": "rm -rf dist/ && webpack --config webpack.config.dist.js -p --display-modules",
1111
"dist:sandbox": "webpack --config webpack.config.js -p",
1212
"docs": "node_modules/documentation/bin/documentation.js build src/**/*.js -f html -o gen-docs && node_modules/documentation/bin/documentation.js build src/**/*.js -f md > gen-docs/DOCUMENTATION.md",
1313
"docs:lint": "node_modules/documentation/bin/documentation.js lint src/**/*.js",

sandbox/rd3g.sandbox.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.dist.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
const path = require('path');
22
const webpack = require('webpack');
33

4-
// https://medium.freecodecamp.com/tree-shaking-es6-modules-in-webpack-2-1add6672f31b
5-
// http://moduscreate.com/optimizing-react-es6-webpack-production-build/
6-
74
module.exports = {
85
context: path.join(__dirname, 'src'),
96
entry: './index.js',

0 commit comments

Comments
 (0)