diff --git a/packages/building-rollup/modern-and-legacy-config.js b/packages/building-rollup/modern-and-legacy-config.js
index <HASH>..<HASH> 100644
--- a/packages/building-rollup/modern-and-legacy-config.js
+++ b/packages/building-rollup/modern-and-legacy-config.js
@@ -68,6 +68,7 @@ function createConfig(_options, legacy) {
       // resolve bare import specifiers
       resolve({
         extensions: options.extensions,
+        moduleDirectory: ['node_modules', 'web_modules']
       }),
 
       // run code through babel
diff --git a/packages/building-rollup/modern-config.js b/packages/building-rollup/modern-config.js
index <HASH>..<HASH> 100644
--- a/packages/building-rollup/modern-config.js
+++ b/packages/building-rollup/modern-config.js
@@ -58,6 +58,7 @@ module.exports = function createBasicConfig(_options) {
       // resolve bare import specifiers
       resolve({
         extensions: options.extensions,
+        moduleDirectory: ['node_modules', 'web_modules']
       }),
 
       // run code through babel
feat(building-rollup): support web-modules