Closed ghost closed 6 years ago
What bundler are you using?
Hello, I have the same error, any idea to fix this ?
Thank you
@xama Please, provide more details. Which bundler? E.g. here some info about same error in babelify: https://github.com/babel/babelify/issues/157
npm i jquery-custom-select --save-dev
somewhere in my srouces
import 'jquery-custom-select';
I except that this line will include source code into my bundle, but there is an error:
ParseError: 'import' and 'export' may appear only with 'sourceType: module'