webpack hangs at on “95% emit” / “95% emitting”

前端 未结 11 2034
不思量自难忘°
不思量自难忘° 2021-02-05 14:52

This is my production webpack config. The two quotes in the title refer to webpack2 and webpack respectively. Both hang for me with a similar error.

This is my command t

11条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-05 15:18

    I use laravel-mix as a standalone. This is my my config:

    let mix = require('laravel-mix');
    
    mix.setPublicPath('./')
       .js('resources/js/app.js', 'js')
       .sass('resources/sass/app.scss', 'css');
    

    This worked for me.

提交回复
热议问题