WhitestormJS / whitestorm-app-boilerplate

[WIP] WhitestormJS 2 App boilerplate
http://whs-boilerplate-app.surge.sh/
MIT License
45 stars 17 forks source link

$export is not a function #5

Closed elva2596 closed 7 years ago

elva2596 commented 7 years ago

hello,when i npm install and npm start ,the controls show the message:$export is not a function.how to solve?

elva2596 commented 7 years ago

I have found answer:

             ['transform-runtime', {
              helpers: false,
              polyfill: false,
              regenerator: true, }],
              ]
sasha240100 commented 7 years ago

@elva2596 Okay, the error still exist, can I fix it?

saltcod commented 6 years ago

exclude: /(node_modules|bower_components)/,

fixed for me. Entire thing:

module: {
        rules: [
            {
                test: /\.js$/,
                enforce: 'pre',
                loader: 'eslint-loader',
                query: {
                    configFile: './.eslintrc'
                }
            },
            {
                test: /\.js$/,
                exclude: /(node_modules|bower_components)/,
                use: [
                    {
                        loader: 'babel-loader',
                        options: {
                            babelrc: true
                        }
                    }
                ]
            }
        ]
    },