-
-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Description
Hi there,
Since I upgraded to 8.3.5 or 8.3.6 the --watch doesn't detect changes anymore. I didn't change any configuration.
Rolling back to 8.3.0 solves the issue.
My config is Windows 11 using npm
My tsup.config
import { sassPlugin } from 'esbuild-sass-plugin'
export default defineConfig(
({ watch }): Options => ({
// Files-relared options
entry: [
'scripts/index.jsx',
'style/colors.scss',
'style/all.scss',
'style/export.scss',
'style/style.scss',
],
outDir: '../public/dist',
clean: true,
// Build options
splitting: false,
sourcemap: true,
platform: 'browser',
// This is required to avoid really weird errors (but I don't know why)
format: ['esm'],
// Mark all NPM dependencies as internal
noExternal: [/.*/],
// Reduce bundle size when building for production (as too slow for dev mode)
minify: !watch,
treeshake: !watch,
target: 'es2019',
// Additional language support
esbuildPlugins: [
sassPlugin(),
],
}),
)
AlexGeb, victorchabbert, williamgoulois, Raesta, ray-overjet and 14 more
Metadata
Metadata
Assignees
Labels
No labels