Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
fix(docz-core): remove @babel/runtime alias
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Aug 6, 2018
1 parent 456d91e commit 0dbd8f0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/docz-core/src/bundlers/webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ export const createConfig = (args: Args, env: Env) => (
nodeEnv: env,
namedModules: true,
noEmitOnErrors: true,
runtimeChunk: true,
splitChunks: {
chunks: 'all',
name: 'vendors',
Expand All @@ -122,13 +121,7 @@ export const createConfig = (args: Args, env: Env) => (

config.resolve
.set('symlinks', true)
.alias.set(
'@babel/runtime',
path.dirname(require.resolve('@babel/runtime/package.json'))
)

config.resolve.extensions
.add('.web.js')
.extensions.add('.web.js')
.add('.mjs')
.add('.js')
.add('.json')
Expand Down

0 comments on commit 0dbd8f0

Please sign in to comment.