-
Notifications
You must be signed in to change notification settings - Fork 13
Nikko Lab 22 #3
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
base: master
Are you sure you want to change the base?
Nikko Lab 22 #3
Conversation
app/entry.js
Outdated
'use strict'; | ||
|
||
require('./scss/reset.scss'); | ||
require('./scss/main.scss'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've renamed these but you are still requiring them here with the old name.
webpack.config.js
Outdated
module.exports = { | ||
entry: `${__dirname}/app/entry.js`, | ||
output: { | ||
file: 'bundle.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something wrong with this line. See if you can figure out what it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it! 'filename:"
"node-sass": "^4.5.1", | ||
"sass-loader": "^6.0.3", | ||
"style-loader": "^0.16.0", | ||
"webpack": "^1.14.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are missing file-loader and url-loader.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember using those dependencies? I was checking other peoples' package.json files and I didn't see them either?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brian had them in his and I thought that might be why your fonts were not loading.
*~ | ||
|
||
#Build (webpack) | ||
build/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good Job ignoring your build/.
@import 'base'; | ||
@import 'main'; | ||
@import 'nav'; | ||
@import 'footer'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job modularizing your scss.
"watch": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot", | ||
"test": "./node_modules/karma/bin/karma start --single", | ||
"test-watch": "./node_modules/karma/bin/karma start", | ||
"lint": "./node_modules/eslint/bin/eslint.js ./*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job adding these scripts.
No description provided.