Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Compiled js warns about using 'eval' #130

Open
thislooksfun opened this issue Mar 12, 2021 · 1 comment
Open

Compiled js warns about using 'eval' #130

thislooksfun opened this issue Mar 12, 2021 · 1 comment

Comments

@thislooksfun
Copy link
Contributor

When I glanced at the compiled main.js file from the default theme it had the following at the top:

/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is not neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */

This seems like not desirable behavior.

@Gerrit0
Copy link
Contributor

Gerrit0 commented Mar 12, 2021

PR welcome - that's definitely a mistake... I thought I had it configured to build in production when creating a release.

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