Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js-xss not importing correctly #25

Open
bendemboski opened this issue Apr 25, 2018 · 1 comment
Open

js-xss not importing correctly #25

bendemboski opened this issue Apr 25, 2018 · 1 comment

Comments

@bendemboski
Copy link

bendemboski commented Apr 25, 2018

Importing dist/xss.js from js-xss produces a module whose default export is {}, rather than the filterXSS function. The module seems to be doing some kinda funny trickery with its exporting, so maybe this is out of scope of what ember-cli-cjs-transform is trying to support, but wanted to raise the issue just in case it's worth fixing.

Here is a sample project reproducing the issue.

@Turbo87
Copy link

Turbo87 commented May 4, 2018

@bendemboski I think you might need to raise this issue on the rollup-plugin-commonjs repository, that this transform is essentially based on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants