fingerpan / vue-cli-plugin-dll

Vue CLI 3 plugin for Webpack DllPlugin/DllReferencePlugin
MIT License
76 stars 22 forks source link

Entry of 'vuetify/lib' crashes the dll build #24

Closed Arsync closed 5 years ago

Arsync commented 5 years ago

Additional line in service.js

return new Promise((resolve, reject) => {
    webpack(webpackConfig, (err, stats) => {
        if (err) {
            return reject(err)
        } else if (stats.hasErrors()) {

            // This one:
            console.log(stats.compilation.errors[0]);

            return reject(new Error('Build failed with errors.'))
        }
        log('Build complete.')
        resolve()
    })
})

gives me following:

Starting build dll... ModuleBuildError: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: this[MODULE_TYPE] is not a function

It builds only when I comment entry of 'vuetify/lib'.

fingerpan commented 5 years ago

Thank you for your feedback. I have solved this problem.