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
I'm trying to call all the dependencies required that are listed on bower_componentes
I have this on my grunt file:
browserify: { client: { src: ['app/**/*.js'], dest: 'src/app.js', options: { transform: [ ['babelify', {presets: ['es2015']}] ], alias: { angular: './bower_components/angular/angular.js' } } } }
Trying this on my app.js generate an error:
app.js
import angular from 'angular';
I found that when you use require instead of alias, at the end of the dependency it add a export.module = angular
export.module = angular
Doing a manual insert of that line before export.module = angular fix the problem if I'm using alias
The text was updated successfully, but these errors were encountered:
Is this project still maintained?
Sorry, something went wrong.
It is 😏 However, I'll try to find time for looking into your problem later this weekend.
No branches or pull requests
I'm trying to call all the dependencies required that are listed on bower_componentes
I have this on my grunt file:
Trying this on my
app.js
generate an error:I found that when you use require instead of alias, at the end of the dependency it add a
export.module = angular
Doing a manual insert of that line before
export.module = angular
fix the problem if I'm using aliasThe text was updated successfully, but these errors were encountered: