lundi 31 octobre 2016

Mithril's MSX with Laravel Elixir

I've tried tons of things but can't add msx-loader to Elixir webpack config anyhow.

Has anyone ever done this?

This is what I do in my gulpfile:

elixir((mix) => {
    Elixir.webpack.mergeConfig({
        module: {
            loaders: [
                {
                    test: /\.js$/,
                    loaders: ['buble', 'msx-loader']
                }
            ]
        }
    });

    mix.sass('app.scss')
        .webpack('app.js')
        .browserSync({
            proxy: 'http://localhost:8000'
        })
});



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2fmKMpG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire