¨A https://github.com /lautr3k/lw.raster-to-gcode/blob/master/webpack.config.js Z:/Server HD/Library/WebServer/Documents/Web Sites/nanoDLP/github.com/lautr3k/lw.raster-to-gcode/blob/master/webpack.config.html delayed https://github.com /lautr3k/lw.raster-to-gcode Z:/Server HD/Library/WebServer/Documents/Web Sites/nanoDLP/github.com/lautr3k/lw.raster-to-gcode/blob/master/webpack.config.html.z x BT]Z ÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ û è§ OK text/html utf-8 gzip ÈiH è§ ÿÿÿÿ Àýq Tue, 16 Jan 2018 01:24:17 GMT ”s p‘æèµâе⠵â¸læ@µâ AT]Z ÿÿÿÿÿÿÿÿj+ è§
lw.raster-to-gcode/webpack.config.js at master · lautr3k/lw.raster-to-gcode · GitHub
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
|
let path = require('path') |
|
|
|
let min = process.argv.indexOf('-p') !== -1 |
|
|
|
let output_library = "RasterToGcode" |
|
let output_filename = "lw.raster-to-gcode"+ (min ? ".min" : "") + ".js" |
|
|
|
let src_path = path.resolve('./src') |
|
let dist_path = path.resolve('./dist') |
|
|
|
module.exports = { |
|
debug: true, |
|
context: src_path, |
|
devtool: "source-map", |
|
entry: [ |
|
"./raster-to-gcode.js" |
|
], |
|
output: { |
|
path: dist_path, |
|
filename: output_filename, |
|
library: output_library, |
|
libraryTarget: "umd", |
|
umdNamedDefine: true |
|
}, |
|
module: { |
|
loaders: [ |
|
{ |
|
test: /\.js$/, |
|
exclude: /node_modules/, |
|
loaders: ["babel-loader"] |
|
} |
|
] |
|
}, |
|
devServer: { |
|
contentBase: dist_path |
|
} |
|
}; |
You can't perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.