diff --git a/custom-elements-manifest.config.js b/custom-elements-manifest.config.js index 7a41f759a..d3d1379fd 100644 --- a/custom-elements-manifest.config.js +++ b/custom-elements-manifest.config.js @@ -167,7 +167,7 @@ export default { // const terms = [ { from: /^src\//, to: '' }, // Strip the src/ prefix - { from: /\.(t|j)sx?$/, to: '.js' } // Convert .ts to .js + { from: /\.component.(t|j)sx?$/, to: '.js' } // Convert .ts to .js ]; mod.path = replace(mod.path, terms);