File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "name" : " js30" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " " ,
5+ "main" : " index.js" ,
6+ "scripts" : {
7+ "start" : " http-server ./ -o -c-1"
8+ },
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " git@github.com:stickmanblue/JavaScript30.git"
12+ },
13+ "keywords" : [],
14+ "author" : " " ,
15+ "license" : " ISC" ,
16+ "bugs" : {
17+ "url" : " https://github.com/stickmanblue/JavaScript30/issues"
18+ },
19+ "homepage" : " https://github.com/wesbos/JavaScript30#readme" ,
20+ "devDependencies" : {
21+ "http-server" : " ^0.9.0"
22+ }
23+ }
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ entry : './index.js' ,
3+ output : {
4+ path : './build' ,
5+ filename : 'bundle.js' ,
6+ publicPath : ''
7+ } ,
8+ module : {
9+ loaders : [
10+ {
11+ test : / \. j s x ? / ,
12+ loaders : [
13+ 'babel'
14+ ] ,
15+ include : './index.js' ,
16+ query : {
17+ presets : [
18+ 'es2015'
19+ ]
20+ }
21+ } ,
22+ {
23+ test : / \. s c s s $ / ,
24+ loaders : [
25+ 'style' ,
26+ 'css' ,
27+ 'sass'
28+ ]
29+ } ,
30+ {
31+ test : / \. ( p n g | j p g ) $ / ,
32+ loaders : [
33+ 'url'
34+ ] ,
35+ query : {
36+ limit : 8192
37+ }
38+ }
39+ ]
40+ }
41+ }
You can’t perform that action at this time.
0 commit comments