diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 3916cf2..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -const webpack = require('webpack'); -const path = require('path'); - -module.exports = [ - { - entry: './src/fengari.js', - target: 'web', - node: false, - output: { - path: path.resolve(__dirname, 'dist'), - filename: 'fengari.js', - library: 'fengari' - }, - module: { - rules: [ - { - test: [/\.js$/], - loader: 'babel-loader', - options: { - presets: [['env', { - "targets": { - "browsers": ["last 2 versions", "safari >= 7"] - } - }]] - } - } - ] - }, - plugins: [ - new webpack.DefinePlugin({ - "typeof process": JSON.stringify("undefined") - }) - ] - } -]; |