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
The following command works on version v20170521, however it falls over on version v20170626 through to the latest.
java -jar ./tools/closure-compiler/v20170521.jar --language_in=ECMASCRIPT6 --js_output_file=build/bundle.js --dependency_mode=STRICT --entry_point=src/index.js --js src/index.js --js src/orange.js --js src/apple.js
Falls over with
ERROR - required "module$src$apple" namespace never provided import apple from './apple.js'
I'm using the ES6 import/export statements.
// index.js import apple from './apple.js' console.log(apple.getColour())
// apple.js console.log('apple loaded') import orange from './orange.js' var apple = {} apple['getColour'] = function(){ return 'Green' } apple['getType'] = function(){ return 'Granny Smith' } export default apple
// orange.js console.log('Oranges loaded') var test = {} export default test
The text was updated successfully, but these errors were encountered:
This is fixed by #2641
Sorry, something went wrong.
No branches or pull requests
The following command works on version v20170521, however it falls over on version v20170626 through to the latest.
Falls over with
I'm using the ES6 import/export statements.
The text was updated successfully, but these errors were encountered: