-
Notifications
You must be signed in to change notification settings - Fork 101
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
Asteroid 2.0 in a chrome extension #95
Comments
fixed it with using > babel > browserify |
@grinono could you describe the full solution and how did you use asteroid? |
i created a boilerplate chrome extension with : https://github.com/yeoman/generator-chrome-extension var browserify = require('browserify'); // generated on 2016-03-11 using generator-chrome-extension 0.5.4 const $ = gulpLoadPlugins(); gulp.task('browserify', function() {
}); gulp.task('extras', () => { function lint(files, options) { gulp.task('lint', lint('app/scripts.babel/*/.js', { gulp.task('images', () => { gulp.task('html', () => { gulp.task('chromeManifest', () => { gulp.task('babel', () => { gulp.task('clean', del.bind(null, ['.tmp', 'dist'])); gulp.task('watch', ['build'], () => { // gulp.watch([ gulp.watch('app/scripts.babel/*/.js', ['build']); gulp.task('size', () => { gulp.task('wiredep', () => { gulp.task('package', function () { gulp.task('build', (cb) => { gulp.task('default', ['clean'], cb => { |
i'm trying to work with the 2.0 version of this package from a chrome extension. But somehow it's not working. older version worked just fine.
looks like import is not accepted from within a chrome extensions. do we require ES6?
linking in the backgrouds.html to the packages is also not working:
any idea how to fix this.
The text was updated successfully, but these errors were encountered: