action-input/webpack.config.js

29 строки
437 B
JavaScript
Исходник Обычный вид История

const path = require('path');
module.exports = {
entry: ['babel-polyfill', './src/action/ActionManager.js'],
output: {
filename: 'xr-input.js',
path: path.resolve(__dirname, 'dist')
},
module: {
rules: [
{
test: /\.js$/,
include: [
path.resolve(__dirname),
],
use: {
loader: 'babel-loader',
options: {
presets: ['env']
}
}
}
]
},
resolve: {
extensions: ['.js']
}
};