Authored by ccbikai

source map 调试

... ... @@ -179,6 +179,7 @@ gulp.task('postcss', ['assets'], () => {
gulp.task('webpack-dev-server', () => {
var devConfig = Object.assign({}, webpackConfig, {
debug: true,
devtool: "#inline-source-map",
vue: {
postcss: postcssPlugin(env.dev),
autoprefixer: false,
... ...
... ... @@ -8,3 +8,5 @@ new Vue({
app: App
}
});
console.log(2);
\ No newline at end of file
... ...
... ... @@ -10,6 +10,7 @@
<script>
var s = 1; // 测试代码检查
console.log(1);
module.exports = {
data() {
return {
... ...