-
Notifications
You must be signed in to change notification settings - Fork 2
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
Labels
Milestone
Comments
Started work in this branch, 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 |
Merged
This was referenced Jun 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More importantly, make sure the upgrade includes leveraging SystemJS and tree shaking
note: Webpack 2 is official!
The text was updated successfully, but these errors were encountered: