Webpack 4 / Angular 6 support
See original GitHub issueHey there,
Maybe you already know, but this library doesn’t work anymore with WebPack 4 and Angular 6. Here’s what I get when trying to ng serve
.
This is most likely related to the big changes that happened in WebPack 4. Is there any plans to upgrade this? If not on your end, I might peek at it if I don’t found any other alternatives.
Thanks.
My CLI infos are the following :
Angular CLI: 6.0.0-rc.2
Node: 8.11.1
OS: win32 x64
Angular: 6.0.0-rc.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cdk: 6.0.0-rc.1
@angular/cli: 6.0.0-rc.2
@angular/flex-layout: 5.0.0-beta.14
@angular/material: 6.0.0-rc.1
@angular-devkit/architect: 0.5.4
@angular-devkit/build-angular: 0.5.4
@angular-devkit/build-optimizer: 0.5.4
@angular-devkit/core: 0.5.4
@angular-devkit/schematics: 0.5.4
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.2.4
@schematics/angular: 0.5.4
@schematics/update: 0.5.4
typescript: 2.7.2
webpack: 4.5.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6
Top Results From Across the Web
Angular 6 With Webpack - Medium
Webpack is module builder with advanced capabilities such as dev-servers and hot module replacements. A few configurations are required for the ...
Read more >JavaScript Demos Using Webpack 4 With Angular 6.1.7 And ...
Ben Nadel updates his JavaScript demos project to start using Webpack 4. This will allow his Angular 6+ demos to be compiled using...
Read more >How to configure Webpack 4 with Angular 7: a complete guide
How to setup an Angular 7 basic application, from scratch · How to configure webpack for development mode (Just-in-Time compilation) · How to ......
Read more >Angular 6-cli with Webpack 4 - Stack Overflow
I'm trying to set up a simple angular 6 project with webpack 4 and I'm looking for a simple guide on how to...
Read more >Webpack: an introduction - ts - GUIDE - Angular
Webpack roams over your application source code, looking for import statements, building a dependency graph, and emitting one or more bundles. With plugins...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
About error TS2304: Cannot find name ‘module’: do you think may it due to a missing typescript definition?
Can you try to
npm install --save-dev @types/node@~8.9.4 @types/webpack-env@^1.13.6
and add the directive below in yoursrc/typings.d.ts
?I’m reproducing this error too. Angular 6 will be out soon.
I fixed it by adding declare var module: {}; above the module line in main.ts
However, it reloads the window on scss inline-template style.