action-input/webpack.config.js

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

2018-02-16 19:55:52 +03:00
const path = require("path");
module.exports = {
2018-02-16 19:55:52 +03:00
entry: ["babel-polyfill", "./src/Temp.js"],
output: {
2018-02-16 19:55:52 +03:00
filename: "xr-input.js",
path: path.resolve(__dirname, "dist")
},
2018-02-16 19:55:52 +03:00
module: {
rules: [
{
test: /\.js$/,
include: [path.resolve(__dirname)],
use: {
loader: "babel-loader",
options: {
presets: ["env"]
}
}
}
]
},
resolve: {
2018-02-16 19:55:52 +03:00
extensions: [".js"]
}
};