Skip to content

Commit

Permalink
set up webpack for twoprop
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMerrill committed May 8, 2019
1 parent acab695 commit d449b5d
Show file tree
Hide file tree
Showing 7 changed files with 6,619 additions and 756 deletions.
18 changes: 16 additions & 2 deletions .babelrc
@@ -1,4 +1,18 @@
{
"presets": ["es2015"],
"plugins": ["transform-es2015-destructuring", "transform-object-rest-spread"]
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": "60",
"ie": 9
},
"useBuiltIns": "false",
"corejs": "2"
}
]
],
"ignore": [
"node_modules"
]
}
2 changes: 2 additions & 0 deletions buildRelease.sh
Expand Up @@ -8,5 +8,7 @@ then
else
jekyll build -d ./dist/es --config _config.yml,_config_web.yml,_config_es.yml
jekyll build -d ./dist/en --config _config.yml,_config_web.yml,_config_en.yml
TARGET_DIR=dist/es npx webpack
TARGET_DIR=dist/en npx webpack
fi
cp ./index.html ./dist

0 comments on commit d449b5d

Please sign in to comment.