19 строки
345 B
JavaScript
19 строки
345 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
entry: "./src/ping-centre.js",
|
|
output: {
|
|
path: __dirname + "/dist",
|
|
filename: "ping-centre.min.js",
|
|
library: "PingCentre"
|
|
},
|
|
module: {
|
|
loaders: [{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
loader: "babel-loader",
|
|
query: {presets: ["es2015"]}
|
|
}]
|
|
}
|
|
};
|