I want to use es6 import and export featues with grunt setup, but i don't want to use webpack to use import and export,
so Is there any way to use es6 import and export with grunt without using webpack ???
My grunt-babel definition is:
babel: {
options: {
sourceMap: true,
presets: ['es2015']
},
build: {
files: [{
expand: true, // Enable dynamic expansion
cwd: 'src/jass',
src: ['**/*.js'], // Actual patterns to match
dest: 'src/j'
}]
}
}
I have uploaded the problem statement on Github, kindly refer it
So when i run index.html, got the error "define is not defined"