aurelia / aurelia/webpack-plugin

Using @noView with css

Open
#120 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
89
Forks
33
PR merge metrics
No merged PRs in 30d

Description

**I'm submitting a bug report**

**Please tell us about your environment:**
* **Operating System:**
Windows 10

* **Node Version:**
v6.10.3

* **NPM Version:**
npm: '3.10.10',

* **JSPM OR Webpack AND Version**
webpack 3.3.0

* **Browser:**
Google Chrome | 60.0.3112.113 (Versão oficial) 64 bits
-- | --

**Current behavior:**
when I do @noview([PLATFORM.moduleName('nprogress/nprogress.css')]) I get:
Failed loading required CSS file: nprogress/nprogress.css in the browser.

**Expected/desired behavior:**
I expect the browser to load the CSS file

[bugtest.zip](https://github.com/aurelia/webpack-plugin/files/1267517/bugtest.zip)
[aurelia-car.zip](https://github.com/aurelia/webpack-plugin/files/1267519/aurelia-car.zip)

Contributor guide

Open the contributing guide

Research direction

Start by running the attached bugtest.zip reproduction with webpack 3.3.0 and the stated Node and Chrome versions. Trace how @noView, PLATFORM.moduleName, and nprogress/nprogress.css are handled, then verify that the CSS loads in the browser without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.