Skip to content

Commit

Permalink
Core: Add highlight.js to es6 transpiled modules
Browse files Browse the repository at this point in the history
  • Loading branch information
tooppaaa committed Oct 18, 2020
1 parent 3de0bdd commit 9cd727c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/server/common/es6Transpiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { plugins } from './babel';
const es6Transpiler = () => {
// TODO: generate regexp using are-you-es5

const include = /[\\/]node_modules[\\/](@storybook\/node-logger|are-you-es5|better-opn|boxen|chalk|commander|find-cache-dir|find-up|fs-extra|json5|node-fetch|pkg-dir|resolve-from|semver)/;
const include = /[\\/]node_modules[\\/](@storybook\/node-logger|are-you-es5|better-opn|boxen|chalk|commander|find-cache-dir|find-up|fs-extra|highlight.js|json5|node-fetch|pkg-dir|resolve-from|semver)/;
return {
test: /\.js$/,
use: [
Expand Down

0 comments on commit 9cd727c

Please sign in to comment.