synapse-wireless-labs / component-lab

A component development and testing tool built for Angular, inspired by React Storybook.
79 stars 16 forks source link

Uncaught ReferenceError: webpackJsonp is not defined #19

Closed mikaelmattsson closed 7 years ago

mikaelmattsson commented 7 years ago

For some reason my polyfills are not beeing loaded.

I tried to import them as in the directly into the lab component as suggested here https://github.com/synapse-wireless-labs/component-lab/issues/11 but with no luck.

My config has this:

    entry: {
        polyfills: './src/polyfills.browser.ts',
        vendor: './src/vendor.browser.ts',
        main: './src/main.browser.ts'
    }

But the scripts beeing included looks like this:

<script type="text/javascript" src="vendor.ccf5d7ddcba0e5d3b0f2.bundle.js" defer></script>
<script type="text/javascript" src="main.0e4b0dce2fdb009c3c65.bundle.js" defer></script>
</body>