Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgradin v0.16 to v0.17 #15

Open
devlamine opened this issue Sep 24, 2018 · 0 comments
Open

Upgradin v0.16 to v0.17 #15

devlamine opened this issue Sep 24, 2018 · 0 comments

Comments

@devlamine
Copy link

devlamine commented Sep 24, 2018

After upgrading to 0.17 I have this error :
Error: babel-plugin-transform-imports: import of entire module quasar not allowed due to preventFullImport setting.
I wante to change value for preventFullImport in the file babelrc.js but it’s extended and crashed by quasar-cli in the file /home/devlamine/sites/pr/client/node_modules/quasar-cli/lib/webpack/create-chain.js /:

line 113

    .use ( 'Babel-loader')
      .loader ( 'Babel-loader')
        .Options ({
          extends: appPaths.resolve.app ('babelrc'),
          plugins: cfg.framework.all! == true? [
            [
              'transform-imports', {
                quasar: {
                  transform: `quasar-framework / dist / babel-transforms / imports. $ {cfg.ctx.themeName} .js`,
                  preventFullImport: true
                }
              }
            ]
          ]: []

When I change prevent Full Import: true by false it works !!
I can do framework.all: true in file quasar.conf.js ? there will be no impact in the other functionality ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant