diff options
| author | Rubén Beltrán del Río <ben@nsovocal.com> | 2018-04-22 16:40:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-22 16:40:39 -0500 |
| commit | f45bcde17fe0a8849e647ac843106fb51d2e8971 (patch) | |
| tree | 92ce036ffb5cbcae446c4ad74c6dcbf5cb690156 /config/webpack.js | |
| parent | 493ec31cb19b4211c703762d14a4e6232c4c2143 (diff) | |
Use Parcel (#5)
* Replace webpack with parcel
* Use relative paths on the main index
* Include the babel polyfill
* Add missing semicolon
* Add hooks to lint before commits
* Delete webpack config
Diffstat (limited to 'config/webpack.js')
| -rw-r--r-- | config/webpack.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/config/webpack.js b/config/webpack.js deleted file mode 100644 index 34cccbd..0000000 --- a/config/webpack.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -const Path = require('path'); - -module.exports = { - entry: ['babel-polyfill', './lib/sumo'], - - output: { - path: Path.resolve(__dirname, '../assets'), - filename: 'bundle.js', - publicPath: '/assets/', - library: 'Sumo' - }, - - module: { - rules: [ - { - test: /\.js$/, - use: { - loader: 'babel-loader', - options: { - presets: ['babel-preset-env'] - } - } - } - ] - } -} |