UNPKG

webpack-config-vacuumlabs

Version:
15 lines (13 loc) 439 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = _default; function _default(options) { return { path: options.buildDir, filename: options.useHashedAssetNames ? '[name].[hash].js' : '[name].js', chunkFilename: '[name]-[chunkhash].js', publicPath: options.env === 'development' ? "http://".concat(options.host, ":").concat(options.port, "/") : options.publicPath }; }