• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

I Like Kill Nerds

The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member.

  • Home
  • Aurelia 2
  • Aurelia 1
  • About
  • Aurelia 2 Consulting/Freelance Work

Aurelia + Jspm 0.17

Aurelia 1 · June 22, 2016

Even though I have moved onto Webpack sometime ago in Aurelia, lately I have been partly driven by frustration over how buggy things are with Webpack support in Aurelia at the moment, so I decided to see if Jspm 0.17 would work with Aurelia.

Without delving into unnecessary details, I got a skeleton setup with Aurelia and Jspm 0.17. Check it out here.

There is one remaining issue and that is the Aurelia Bundler is broken. This means bundling does not currently work with this skeleton. However, I am looking into a bundling solution that might not even need the plugin and just use the Jspm builder directly. Watch this space.

Be warned that Jspm 0.17 is currently beta, so it might have issues if used in production. This was more of a proof of concept to see if 0.17 worked with Aurelia.

And no, in the end I didn’t switch from Webpack. But I have been using the Requirejs app that gets generated via the CLI and I like its simplicity and stability.

Dwayne

Leave a Reply Cancel reply

3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Opcoder
Opcoder
6 years ago

The first paragraph

“Even though I have moved onto Webpack sometime ago in Aurelia, partly driven by frustration over how buggy things are with Webpack and Aurelia”

Is confusing to me. You moved to using webpack because of issues with it?

0
Craig Neuwirt
Craig Neuwirt
6 years ago

Have you successfully used karma-jspm to test a jspm solution? I’ve yet to find the correct configuration. If you have, I think it would be great to add karma to this example.

thanks

0
Max
Max
6 years ago

Bundling in JSPM works perfectly. Mind you, I didn’t use the skeleton and set it up from scratch using gulp.

0

Primary Sidebar

Popular

  • Testing Event Listeners In Jest (Without Using A Library)
  • How To Get The Hash of A File In Node.js
  • Waiting for an Element to Exist With JavaScript
  • Thoughts on the Flipper Zero
  • How To Get Last 4 Digits of A Credit Card Number in Javascript
  • How To Paginate An Array In Javascript
  • Reliably waiting for network responses in Playwright
  • How To Mock uuid In Jest
  • How to Copy Files Using the Copy Webpack Plugin (without copying the entire folder structure)
  • Wild Natural Deodorant Review

Recent Comments

  • Dwayne on Is Asking Developers How to Write FizzBuzz Outdated?
  • kevmeister68 on Is Asking Developers How to Write FizzBuzz Outdated?
  • Kevmeister68 on Start-Ups and Companies That Embrace Work From Anywhere Will Be More Likely to Survive the Coming Recession in 2023
  • kevmeister68 on What Would Get People Back Into the Office?
  • Dwayne on PHP Will Not Die

Copyright © 2023 · Dwayne Charrington · Log in

wpDiscuz