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

Error on build #10

Closed
sophyphreak opened this issue May 5, 2018 · 1 comment
Closed

Error on build #10

sophyphreak opened this issue May 5, 2018 · 1 comment

Comments

@sophyphreak
Copy link

ERROR in index.bundle.js from UglifyJs
Unexpected character '`' [./node_modules/round-to/index.js:17,0][index.bundle.js:65,88303]
Child html-webpack-plugin for "index.html":
     1 asset
    [./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html] ./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html 363 bytes {0} [built]
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!node_modules/sass-loader/lib/loader.js!scss/style.scss:
    [./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js!./scss/style.scss] ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./scss/style.scss 126 kB {0} [built]

@SamVerschueren
Copy link
Contributor

We aim for Node.js, not the browser. You can find a more detailed explanation here sindresorhus/ama#446.

If you use Webpack, check out babel-engine-plugin, which transpiles only the dependencies that needs to be transpiled.

Repository owner locked and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants