Authored by 姜枫

还原js修改

... ... @@ -219,7 +219,7 @@ gulp.task('webpack-dev-server', () => {
devConfig.plugins[0] = new ExtractTextPlugin('bundle/[name].css');
devConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
// devConfig.entry.libs.unshift(`webpack-dev-server/client?${devConfig.output.publicPath}`, 'webpack/hot/dev-server');
devConfig.entry.libs.unshift(`webpack-dev-server/client?${devConfig.output.publicPath}`, 'webpack/hot/dev-server');
new WebpackDevServer(webpack(devConfig), {
contentBase: '.',
... ...
$(function(){
require('../../scss/product/detail/_index.css');
require('../../scss/product/detail/_index.css');
var $ = require('yoho-jquery');
var productId = $('#productId').val();
var goodsId = $('#goodsId').val();
... ... @@ -278,5 +277,3 @@ setTimeout(() => {
});
}, 200);
}(productSkn, productId, brandId));
})();
... ...