Skip to content

Commit 9cf9aa9

Browse files
committed
Moved demo to diff. folder, updated webpack config
1 parent 4707f19 commit 9cf9aa9

File tree

12 files changed

+9952
-14
lines changed

12 files changed

+9952
-14
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.DS_Store
22
node_modules/
3-
dist/
43
npm-debug.log
54
yarn-error.log

.npmignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
index.html
2-
webpack.config.js
3-
src/App.js
4-
src/main.js

demo/.babelrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"presets": [
3+
["latest", {
4+
"es2015": { "modules": false }
5+
}]
6+
]
7+
}
File renamed without changes.

demo/package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "demo",
3+
"version": "1.0.0",
4+
"scripts": {
5+
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
6+
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
7+
},
8+
"dependencies": {
9+
},
10+
"devDependencies": {
11+
"vue": "^2.2.1",
12+
"babel-core": "^6.0.0",
13+
"babel-loader": "^6.0.0",
14+
"babel-preset-latest": "^6.0.0",
15+
"cross-env": "^3.0.0",
16+
"css-loader": "^0.25.0",
17+
"file-loader": "^0.9.0",
18+
"node-sass": "^4.5.0",
19+
"sass-loader": "^5.0.1",
20+
"vue-loader": "^11.1.4",
21+
"vue-template-compiler": "^2.2.1",
22+
"webpack": "^2.2.0",
23+
"webpack-dev-server": "^2.2.0"
24+
}
25+
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)