mirror of
https://github.com/facebook/lexical.git
synced 2025-05-16 22:48:52 +08:00
[lexical-playground] Bug Fix: Use babel MatchPatterns that work correctly on windows (#7534)
This commit is contained in:
@ -121,7 +121,7 @@ export default defineConfig({
|
||||
babelHelpers: 'bundled',
|
||||
babelrc: false,
|
||||
configFile: false,
|
||||
exclude: '/**/node_modules/**',
|
||||
exclude: '**/node_modules/**',
|
||||
extensions: ['jsx', 'js', 'ts', 'tsx', 'mjs'],
|
||||
plugins: [
|
||||
'@babel/plugin-transform-flow-strip-types',
|
||||
|
@ -50,7 +50,7 @@ export default defineConfig(({mode}) => ({
|
||||
babelHelpers: 'bundled',
|
||||
babelrc: false,
|
||||
configFile: false,
|
||||
exclude: '/**/node_modules/**',
|
||||
exclude: '**/node_modules/**',
|
||||
extensions: ['jsx', 'js', 'ts', 'tsx', 'mjs'],
|
||||
plugins: [
|
||||
'@babel/plugin-transform-flow-strip-types',
|
||||
|
@ -197,7 +197,7 @@ async function build(
|
||||
babelHelpers: 'bundled',
|
||||
babelrc: false,
|
||||
configFile: false,
|
||||
exclude: '/**/node_modules/**',
|
||||
exclude: '**/node_modules/**',
|
||||
extensions,
|
||||
plugins: [
|
||||
[
|
||||
|
Reference in New Issue
Block a user