A complete tutorial on setting up a highly scalable and configurable Angular 4 project with Webpack. Learn how to optimize your web development throughput …

Nguồn:https://u-os.org/

Author

14 Comments

  1. Konstantin Tkalenko Reply

    enviroment… ENVIRONMENT!!!
    File Name – it two different words. Why the hell "Filename".
    What the hell happening with developers, people who are supposed to be smart and intelligent???

  2. FrontEnd Miracle Reply

    Great work with the video outline. I wish every youtube tutorial would show one.

  3. Krishnan Shankarasubramanian Reply

    hi, can i get the source or this demo from any github to start my ang pjt ?

  4. RAJ JAISWAL Reply

    Hi how to use webpack config with scss and angular 5. pls create a sample on gihub and link here.

  5. Jeonsoft FaceBundy Reply

    Can you migrate the CommonsChunkPlugin to webpack 4? this plugin was deprecated and was replaced by SplitChunks

  6. Really appreciate about this tutorial. Could you make a tutorial using Babel + Webpack with Angular, without TS?

  7. Eric Lesniewski Reply

    In order to get this to work, I had to add the following to the tsconfig.json files:

    "typeRoots": [
    "node_modules/@types"
    ]

    This is probably not the forum to put requests out there, but I am having difficulty with the npm run webpack-prod command line syntax. I had to add –config config/webpack.prod.js to the end of the command in order to get this to work. It completes, with errors:

    ERROR in chunk app [initial]
    webpack.prod.js
    Conflict: Multiple assets emit to the same filename webpack.prod.js

    ERROR in chunk polyfills [entry]
    webpack.prod.js
    Conflict: Multiple assets emit to the same filename webpack.prod.js

    I have found a suggestion to include the copy-webpack-plugin from (have not tried this myself, yet):
    https://github.com/webpack-contrib/copy-webpack-plugin

    Has anyone run into this problem and/or tried a solution. Thanks. Nice work on this video.

  8. You are the first guy I have seen that is using serif font in text editor instead of monospace. BTW very nice video.

Write A Comment