Skip to content

Commit

Permalink
babel: webpackのサンプルを少しシンプルに
Browse files Browse the repository at this point in the history
  • Loading branch information
ics-ikeda committed Feb 27, 2018
1 parent cd35293 commit 79ecb47
Show file tree
Hide file tree
Showing 3 changed files with 3,799 additions and 5 deletions.
3,799 changes: 3,798 additions & 1 deletion tutorial-babel-es2017/dist/main.js

Large diffs are not rendered by default.

File renamed without changes.
5 changes: 1 addition & 4 deletions tutorial-babel/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
module.exports = {
// モード値を production に設定すると最適化された状態で、
// development に設定するとソースマップ有効でJSファイルが出力される
mode: 'development',

// メインとなるJavaScriptファイル(エントリーポイント)
entry: './src/app.js',
mode: 'production',

module: {
rules: [
Expand Down

0 comments on commit 79ecb47

Please sign in to comment.