We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parcel/transformer-js: Browser scripts cannot have imports or exports.
Arkanoid/breakoout/src/main.ts:1:1
1 | import Phaser from 'phaser' | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | 3 | import Preloader from './scenes/Preloader'
Arkanoid/breakoout/src/index.html:6:3 5 |
6 | <script src="main.ts"></script> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The environment was originally created here 7 | 8 |
💡 Add the type="module" attribute to the <script> tag. 📝 Learn more: https://parceljs.org/languages/javascript/#classic-scripts
The text was updated successfully, but these errors were encountered:
No branches or pull requests
parcel/transformer-js: Browser scripts cannot have imports or exports.
Arkanoid/breakoout/src/main.ts:1:1
Arkanoid/breakoout/src/index.html:6:3
5 |
💡 Add the type="module" attribute to the <script> tag.
📝 Learn more: https://parceljs.org/languages/javascript/#classic-scripts
The text was updated successfully, but these errors were encountered: