Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
Missing essential files after npm run build
It generates the following files in /build directory:
- app.js
- app.js.map
- index.html
index.html refers to ext-react/ directory, which does not exist.
Tested with clean install and https://docs.sencha.com/extreact/6.7...g_started.html
-
Sencha - Forum Administrator
Thank you so much for your post. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated!
Thanks again,
Michele
-
Ext Support Team
Hello,
Thank you for contacting Sencha Support!
I request you to provide details of the build error for the reference of Engineering team for further troubleshooting.
Regards,
Kumar
Sencha Support.
-
Ext JS Premium Member
You need to make sure treeshaking is enabled when you build.
Open package.json and make sure the build script has --env.treeshake=true in it.
"scripts": {
"build": "npm run clean && cross-env webpack --env.environment=production --env.treeshake=true",
}
-
Sencha User

Originally Posted by
chh
You need to make sure treeshaking is enabled when you build.
Open package.json and make sure the build script has --env.treeshake=true in it.
"scripts": {
"build": "npm run clean && cross-env webpack --env.environment=production --env.treeshake=true",
}
Will try, thanks! How did you find out?
-
Ext JS Premium Member

Originally Posted by
justdavey
Will try, thanks! How did you find out?
The good old method of trial and error.