Skip to content

Commit 35a2bd5

Browse files
Merge pull request #207 from emulsify-ds/develop
Release: Fix: don't ignore source folders we're trying to compile from
2 parents 80cd7c8 + dae17d1 commit 35a2bd5

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

config/webpack/webpack.dev.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ const isDrupal = emulsifyConfig.project.platform === 'drupal';
2727
const ignored = ['**/dist/**'];
2828

2929
// If it’s Drupal and there is no src/, also ignore components
30-
if (isDrupal && srcExists) {
30+
if (isDrupal && !srcExists) {
3131
ignored.push('**/components/**');
3232
}
3333

3434
export default merge(common, {
3535
mode: 'development',
3636
devtool: 'source-map',
37+
watch: true,
3738
watchOptions: {
3839
ignored,
3940
},

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emulsify/core",
3-
"version": "3.3.0",
3+
"version": "3.3.1",
44
"description": "Bundled tooling for Storybook development + Webpack Build",
55
"keywords": [
66
"component library",

0 commit comments

Comments
 (0)