Coder Social home page Coder Social logo

yt-webpack2-basics's Introduction

Webpack 2 Basics Tutorial

This repository holds the source code of my Webpack 2 Basics Series on YouTube. Make sure to watch the Videos on YouTube to understand how to use that code.

yt-webpack2-basics's People

Contributors

smax22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yt-webpack2-basics's Issues

scss loader

 ERROR in ./~/css-loader!./~/sass-loader/lib/loader.js!./sass/style.scss
    Module build failed: 
    undefined
             ^
          "nav" failed to @extend ".z-depth-1".
    The selector ".z-depth-1" was not found.
    Use "@extend .z-depth-1 !optional" if the extend should be able to fail.
          in C:\Users\Melman\Desktop\dev\materialize-src\sass\components\_navbar.scss (line 17, column 11)
webpack: Failed to compile.

scss loader can't handle some mixins and global variables from materializecss

npm run build:prod

hai @mschwarzmueller I'm a student From Indonesia ,
i've already seen your tutorial about webpack 2, and i really like your method to clearly explain what is webpack and how do use it. and it is very useful for me and thanks to you I have learned things I did not know before.

btw, i have a question , i have write loader for img file. but when i'm start npm run build:prod, the img folder not appear in the dist folder, and in my terminal it's says +1 hidden modules .
can you explain why this thing happend ?

Thank you in advance
btw sorry if my english is less understandable.
:-)

npm run build erro

Hello,

I watch videos for web pack and I followed the direction according to your videos.But I am getting error when I run "npm run build" command.

error is:

Hash: 6f832ab3a053d2cd9af7
Version: webpack 2.6.1
Time: 58ms
Asset Size Chunks Chunk Names
bundle.js 3 kB 0 [emitted] main
[0] ./assets/js/app.js 369 bytes {0} [built] [failed] [1 error]

ERROR in ./assets/js/app.js
Module parse failed: /Users/custombarres-imac2/newCB/stencil/assets/js/app.js Unexpected token (26:13)
You may need an appropriate loader to handle this file type.
| import subscribe from './theme/subscribe';
| import wishlist from './theme/wishlist';
| import footer-dropup from './scripts/footer-dropup';
|
| const PageClasses = {
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: webpack assets/js/app.js dist/bundle.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Please help me to solve this error....please

Unexpected token: name (urlParts) at bundle.js

Hi, when I try to run the example for branch 04-webpack-core-concepts in development mode using:
npm run build
I have the next error

image

I'm using webpack 3.8.1, nodejs 8, can you help me to solve it? thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.