Core: [3.0.0] Webpack example not working

Created on 3 Oct 2016  路  4Comments  路  Source: ngx-translate/core

I'm submitting a ... (check one with "x")

[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior

Uncaught TypeError: Cannot read property 'prototype' of undefined

Expected/desired behavior
to work out of the box

Reproduction of the problem
git clone https://github.com/ocombe/ng2-translate.git
cd ng2-translate/examples/webpack
npm install
npm start
watch console output...

ng2-translate version: 3.0.0

Browser: [all]
don't think it's browser related

medium TODO bug

Most helpful comment

yes I need to update the examples with the new umd format

All 4 comments

What repository are you cloning ?
edit: my bad the webpack one, I'll check

Maybe due to the fact that the library isn't distributed in commonjs format ?

yes I need to update the examples with the new umd format

This has been updated, closing it now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ryanki1 picture ryanki1  路  4Comments

webprofusion-chrisc picture webprofusion-chrisc  路  4Comments

egornoveo picture egornoveo  路  4Comments

madoublet picture madoublet  路  3Comments

dankerk picture dankerk  路  3Comments