Skip to content

Commit

Permalink
Merge pull request #1697 from SUI-Components/feat/cache-sui-studio
Browse files Browse the repository at this point in the history
feat(packages/sui-studio): disable filesystem cache in dev mode
  • Loading branch information
andresz1 authored Jan 5, 2024
2 parents 022850d + 200c5f6 commit 15df296
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/sui-studio/bin/sui-studio-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ const legacyTestPath = path.join(PWD, 'test', category, component)

const testPath = fs.existsSync(legacyTestPath) ? legacyTestPath : path.join(componentPath, 'test')

const {cache, ...others} = config

const studioDevConfig = {
...config,
...others,
context: path.join(__dirname, '..', 'workbench', 'src'),
plugins: [...config.plugins, new webpack.DefinePlugin({__COMPONENT_ID__: JSON.stringify(componentID)})],
resolve: {
Expand Down

0 comments on commit 15df296

Please sign in to comment.