2017-02-09 21:58:22 +03:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: "./src/ping-centre.js",
|
|
|
|
output: {
|
|
|
|
path: "./dist",
|
|
|
|
filename: "ping-centre.min.js",
|
|
|
|
library: "PingCentre"
|
|
|
|
},
|
2017-02-10 22:59:11 +03:00
|
|
|
module: {
|
|
|
|
loaders: [{
|
|
|
|
test: /\.js$/,
|
|
|
|
exclude: /node_modules/,
|
|
|
|
loader: "babel-loader",
|
|
|
|
query: {presets: ["es2015"]}
|
|
|
|
}]
|
|
|
|
}
|
2017-02-09 21:58:22 +03:00
|
|
|
};
|