lbry-desktop/ui/webpack.dev.js

28 lines
No EOL
621 B
JavaScript

const path = require("path");
const webpack = require("webpack")
const WebpackNotifierPlugin = require("webpack-notifier")
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
const PATHS = {
dist: path.join(__dirname, "..", "app", "dist")
};
module.exports = merge(common, {
output: {
path: path.join(PATHS.dist, "js"),
pathinfo: true
},
cache: true,
devtool: "eval",
plugins: [
new WebpackNotifierPlugin(),
new webpack.DefinePlugin({
ENV: JSON.stringify("development"),
}),
new webpack.LoaderOptionsPlugin({
debug: true
})
]
});