Open Macxim opened 6 years ago
Path in documentation seems to be wrong. Import from vendor/
works fine if you add missing .min.js
:
app.import('vendor/bootstrap-datepicker-locales/bootstrap-datepicker.<LANGUAGE_CODE>.min.js');
app.import('vendor/bootstrap-datepicker-locales/bootstrap-datepicker.de.min.js');
In the documentation it says:
This returns: `Error: ENOENT: no such file or directory, open '/../tmp/source_map_concat-input_base_path-FkhxKBxt.tmp/vendor/bootstrap-datepicker-locales/bootstrap-datepicker.nl.js'
Importing directly from
node_modules
seems to work fine though:app.import('node_modules/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nl.min.js');