You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
Rollup/buble make it hard to test in a browser (i.e. w/ Karma vs tests that execute in node like w/ Ava). The crux of the problem is this jlmakes/karma-rollup-preprocessor#17
For that reason, I started running the tests off the transpiled build output. That works, but it requires adding concurrently to run builds on changes and run karma in watch mode. A bigger problem is that the tests themselves are ES6, so they have to be transpiled too, and there's not a karma preprocessor for buble, so I'm using the one for babel (see #12).
Ultimately the target consumers of this library are ember addons, which use babel to transpile, so might as well try to use the same preset, etc here.
So, at a high level:
replace rollup/buble w/ webpack/babel and verify that we can get a reasonable build size
Rollup/buble make it hard to test in a browser (i.e. w/ Karma vs tests that execute in node like w/ Ava). The crux of the problem is this jlmakes/karma-rollup-preprocessor#17
For that reason, I started running the tests off the transpiled build output. That works, but it requires adding concurrently to run builds on changes and run karma in watch mode. A bigger problem is that the tests themselves are ES6, so they have to be transpiled too, and there's not a karma preprocessor for buble, so I'm using the one for babel (see #12).
Ultimately the target consumers of this library are ember addons, which use babel to transpile, so might as well try to use the same preset, etc here.
So, at a high level:
The text was updated successfully, but these errors were encountered: