diff --git a/packages/bundler/CHANGELOG.md b/packages/bundler/CHANGELOG.md index b7eb5b336..fd47cd01c 100644 --- a/packages/bundler/CHANGELOG.md +++ b/packages/bundler/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased * Fixed issue where excluded URLs were not resolved by the analyzer when bundler was initialized, resulting in some imports not being treated as excluded. +* Fixed issue where ` + `, + 'module.js': heredoc` + console.log('import/export-free code'); + ` + }); + const bundler = new Bundler({analyzer}); + const entrypointUrl = analyzer.resolveUrl('entrypoint.html')!; + const {documents} = + await bundler.bundle(await bundler.generateManifest([entrypointUrl])); + const entrypointDoc = documents.getHtmlDoc(entrypointUrl)!; + assert.deepEqual(entrypointDoc.content, heredoc` + + `); + }); test('external script tag inlines an es6 module', async () => { const root = 'test/html/inline-es6-modules'; const analyzer = new Analyzer({