Merge pull request #11320 from storybookjs/revert-10290-fix/9901

Revert "Core: Fix source-map strategy for production"
This commit is contained in:
Michael Shilman 2020-06-26 13:14:47 +08:00 committed by GitHub
commit 4c685bfdbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ export default async ({
return {
mode: isProd ? 'production' : 'development',
bail: isProd,
devtool: isProd ? 'inline-source-map' : '#cheap-module-source-map',
devtool: '#cheap-module-source-map',
entry: entries,
output: {
path: path.resolve(process.cwd(), outputDir),