Open chryton opened 5 years ago
Despite setting externals and globals, I am still getting this warning:
(!) No name was provided for external module 'jquery' in options.globals – guessing '$'
Example of the task in the gulpfile:
rollup( { external: ['$', 'jquery', 'jQuery'], output: { globals: { jquery: '$', jQuery: '$', moment: 'moment' } }, plugins: [ noderesolve({ jsnext: true }), commonjs(), babel() ], 'umd' })
The files include jquery via this method: import $ from 'jquery';
import $ from 'jquery';
Is there something I am missing?
Despite setting externals and globals, I am still getting this warning:
(!) No name was provided for external module 'jquery' in options.globals – guessing '$'
Example of the task in the gulpfile:
The files include jquery via this method:
import $ from 'jquery';
Is there something I am missing?