From ef141deddcbecf84edb3601750041a6a99aabb75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Alvarez?= Date: Mon, 6 May 2024 12:52:39 +0200 Subject: [PATCH] fix(packages/sui-bundler): ssr dev --- packages/sui-bundler/webpack.config.client.dev.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sui-bundler/webpack.config.client.dev.js b/packages/sui-bundler/webpack.config.client.dev.js index 5b7681975..6b0f2a10a 100644 --- a/packages/sui-bundler/webpack.config.client.dev.js +++ b/packages/sui-bundler/webpack.config.client.dev.js @@ -16,7 +16,7 @@ const {aliasFromConfig, defaultAlias} = require('./shared/resolve-alias.js') const {supportLegacyBrowsers, cacheDirectory} = require('./shared/config.js') const {resolveLoader} = require('./shared/resolve-loader.js') -const createBabelRules = require('./shared/module-rules-babel.js') +const createCompilerRules = require('./shared/module-rules-compiler.js') const outputPath = path.join(process.cwd(), '.sui/public') @@ -93,7 +93,7 @@ const webpackConfig = { resolveLoader, module: { rules: cleanList([ - createBabelRules({supportLegacyBrowsers, isDevelopment: true}), + createCompilerRules({supportLegacyBrowsers, isDevelopment: true}), { test: /(\.css|\.scss)$/, use: cleanList([