Quasar: Upgrade to 1.12.o breaks loader

Created on 28 May 2020  Â·  11Comments  Â·  Source: quasarframework/quasar

Describe the bug
After upgrading to 1.12 I get following error in quasar dev

You may need an additional loader to handle the result of these loaders.
| //
| //

import date as quasarDate from 'quasar/src/utils/date.js';;

Codepen/jsFiddle/Codesandbox (required)

*To Reproduce

Expected behavior

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):
OS: mac osx catalina

Additional context

bug

Most helpful comment

It works now. Thank YOU Ravzan.

Great framework and outstanding support!

All 11 comments

Hi, can u give more details pls? What mode are you developing with? Are you using modern build, TS? There’s a template in place when opening a ticket...

Nvm, reproduced. Fix will come shortly.

For now, just don't use "as newName". Just import { date } from 'quasar'.

Seems like webpack's acorn doesn't like import + renaming.

Fix coming.

Fix will be available shortly in "@quasar/app" v1.9.1.

Please upgrade to "@quasar/app" v1.9.1.
Thanks for reporting!

It works now. Thank YOU Ravzan.

Great framework and outstanding support!

If you or your company can afford to drop a buck, it'd be much appreciate it -> https://donate.quasar.dev

Ok, I have contributed 250 USD. Let me talk to my partners and see if we can make this recurring in the future.

On May 29, 2020, at 13:47, Razvan Stoenescu notifications@github.com wrote:

If you or your company can afford to drop a buck, it'd be much appreciate it -> https://donate.quasar.dev https://donate.quasar.dev/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/quasarframework/quasar/issues/7126#issuecomment-635929016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAWXNRW4K7M475U5DO5WLLRT6OG7ANCNFSM4NNDPVMA.

@RonchettiAssociati thank you! Every donation really matters!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wc-matteo picture wc-matteo  Â·  3Comments

xereda picture xereda  Â·  3Comments

jean-moldovan picture jean-moldovan  Â·  3Comments

danikane picture danikane  Â·  3Comments

alexeigs picture alexeigs  Â·  3Comments