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:
parent
f987ce3523
commit
a96224a152
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ module.exports = function (defaults) {
|
||||||
babel: {
|
babel: {
|
||||||
plugins: [
|
plugins: [
|
||||||
require.resolve('babel-plugin-transform-react-jsx')
|
require.resolve('babel-plugin-transform-react-jsx')
|
||||||
]
|
],
|
||||||
|
sourceMaps: true
|
||||||
},
|
},
|
||||||
'ember-cli-babel': {
|
'ember-cli-babel': {
|
||||||
optional: ['es6.spec.symbols'],
|
optional: ['es6.spec.symbols'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue