Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade the application to webpack 2.0 #24

Closed
thescientist13 opened this issue Sep 21, 2016 · 3 comments
Closed

upgrade the application to webpack 2.0 #24

thescientist13 opened this issue Sep 21, 2016 · 3 comments

Comments

@thescientist13
Copy link
Member

thescientist13 commented Sep 21, 2016

More importantly, make sure the upgrade includes leveraging SystemJS and tree shaking

note: Webpack 2 is official!

@thescientist13
Copy link
Member Author

Started work in this branch, npm run develop is working, save for this issue loading font-awesome-webpack

bootstrap 6db5c95…:52Uncaught Error: Cannot find module "style!css!less!./font-awesome-styles!./font-awesome.config.js"()webpackMissingModule @ index.js:1(anonymous function) @ index.js:1__webpack_require__ @ bootstrap 6db5c95…:52(anonymous function) @ vendor.ts:13__webpack_require__ @ bootstrap 6db5c95…:52(anonymous function) @ toSubscriber.js:19__webpack_require__ @ bootstrap 6db5c95…:52webpackJsonpCallback @ bootstrap 6db5c95…:23(anonymous function) @ vendor.bundle.js:2
lang.js:298Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
client:45[WDS] Errors while compiling.
client:47./~/font-awesome-webpack/index.js
Module not found: Error: Can't resolve './font-awesome-styles' in '/Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack'
resolve './font-awesome-styles' in '/Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack'
  using description file: /Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/package.json (relative path: .)
  after using description file: /Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/package.json (relative path: .)
    using description file: /Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/package.json (relative path: ./font-awesome-styles)
      as directory
        /Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles doesn't exist
      no extension
        /Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles doesn't exist
      .js
        /Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles.js doesn't exist
      .json
        /Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles.json doesn't exist
[/Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles]
[/Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles]
[/Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles.js]
[/Users/obuckley/Workspace/thegreenhouse.io/repo/angular2-webpack-seed/node_modules/font-awesome-webpack/font-awesome-styles.json]
 @ ./~/font-awesome-webpack/index.js 1:0-72
 @ ./src/vendor.ts
 @ multi vendor

@thescientist13 thescientist13 changed the title upgrade the application to webpack 2.0 beta upgrade the application to webpack 2.0 Jan 21, 2017
@thescientist13
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant