Questions tagged [easy-webpack]

additional abstraction level over webpack configuration with the goal to modularize it

Creates webpack configuration dynamically:

In simplest form webpack.config.js could look like

var configure = require('@easy-webpack/core').generateConfig;

https://github.com/easy-webpack/core

5 questions
3
votes
1 answer

Exclude files such as app.html~ and #app.html

When I'm editing src/app.html in Aurelia's skeleton-navigation/skeleton-typescript-webpack, webpack fails with the following error. WARNING in ./src/app.html~ Module parse failed: /Users/foo/skeleton-test/src/app.html~ Unexpected token (1:0) You…
hirano
  • 106
  • 5
2
votes
0 answers

How do I configure LESS with Aurelia ESnext Easy-Webpack?

I'm trying to configure Less CSS support in the Aurelia ESnext-Webpack Skeleton starter kit, and having pulled in a Less-based framework, I'm seeing the following warning when I run npm start: WARNING in…
Andrew
  • 12,991
  • 15
  • 55
  • 85
1
vote
0 answers

Easy-Webpack unknown property in configuration object

I am trying to learn easy-webpack and so I have started with a minimum project aurelia project setup. I get the following error when running webpack. Run: node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js Error: Invalid…
SJC
  • 2,767
  • 4
  • 20
  • 31
0
votes
0 answers

jQuery plugins work on localhost but not live

fairly new to web development here so please bear with me. I am learning to build a new nodejs app using aurelia framework. I used 2 jQuery plugins - fullPage.js and fancybox3.js - The first one to run a full page video background, and the second to…
Tristan
  • 23
  • 2
0
votes
0 answers

Easy-Webpack example not detecting generateConfig

I am trying to learn easy-webpack and am following the easy-webpack/core walk through. In doing so I have attempted to implement the expanded example here. However I get an error config = generateConfig(common, development, css); …
SJC
  • 2,767
  • 4
  • 20
  • 31