mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
exclude packages from babel-loader
This commit is contained in:
parent
c695b57b28
commit
14cb2ef085
@ -38,8 +38,8 @@ export default {
|
||||
images: `${srcPath}/assets/images`,
|
||||
fonts: `${srcPath}/assets/fonts`,
|
||||
variables: `${srcPath}/assets/sass/variables`,
|
||||
settings: `${srcPath}/assets/sass/1-settings/index`,
|
||||
tiptap: path.resolve(rootPath, '../src'),
|
||||
tiptap: path.resolve(rootPath, '../packages/tiptap/src'),
|
||||
'tiptap-helpers': path.resolve(rootPath, '../packages/tiptap-helpers/src'),
|
||||
},
|
||||
modules: [
|
||||
srcPath,
|
||||
@ -58,7 +58,7 @@ export default {
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: ifDev('babel-loader?cacheDirectory=true', 'babel-loader'),
|
||||
exclude: /node_modules/,
|
||||
exclude: [/node_modules/, /packages/],
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
|
Loading…
Reference in New Issue
Block a user