We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83e1711 commit def0715Copy full SHA for def0715
example/package.json
@@ -6,7 +6,7 @@
6
"homepage": "http://alex3165.github.io/react-mapbox-gl",
7
"scripts": {
8
"start": "cross-env NODE_ENV=dev node dev.server.js",
9
- "build": "cross-env NODE_ENV=prod webpack",
+ "build": "cross-env NODE_ENV=prod webpack && cp dist/index.html dist/demos.html",
10
"predeploy": "npm run build",
11
"deploy": "gh-pages -d dist"
12
},
example/webpack.config.js
@@ -13,7 +13,7 @@ var output = {
13
// Add more files to copy to the dist folder (Eventually an assets folder)
14
var toCopy = [
15
{ from: 'index.html' },
16
- { from: 'style.css' },
+ { from: 'style.css' }
17
];
18
19
var plugins = [
0 commit comments