Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Importing locales from /vendor doesn't workΒ #111

@Macxim

Description

@Macxim

In the documentation it says:

When you need another language, you should import a locale file using your ember-cli-build.js. Just import vendor/bootstrap-datepicker-locales/bootstrap-datepicker.<LANGUAGE_CODE>.js, e.g.:

// ember-cli-build.js
app.import('vendor/bootstrap-datepicker-locales/bootstrap-datepicker.de.js');

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');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions