0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Enabled babel sourcemaps in admin build (#18857)

no issue

- Somewhere along the process of building the admin app, the sourcemaps
are getting corrupted
- This commit is to test the theory that babel is the source of the
corruption, because it isn't generating sourcemaps, so we are missing a
step in the process
This commit is contained in:
Chris Raible 2023-11-02 17:28:42 -07:00 committed by GitHub
parent f987ce3523
commit a96224a152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,8 @@ module.exports = function (defaults) {
babel: {
plugins: [
require.resolve('babel-plugin-transform-react-jsx')
]
],
sourceMaps: true
},
'ember-cli-babel': {
optional: ['es6.spec.symbols'],