From f45bcde17fe0a8849e647ac843106fb51d2e8971 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Sun, 22 Apr 2018 16:40:39 -0500 Subject: 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 --- config/webpack.js | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 config/webpack.js (limited to 'config') 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'] - } - } - } - ] - } -} -- cgit