[WEB]
[Node.js] 웹 게임 개발 #4
ddgoori
2019. 12. 5. 19:40
1. yarn 서버 켜기
#Gulp
프론트엔드는 import, export를 백엔드처럼 그냥 막 쓸수 없다.
그래서 build라는 작업을 통해 프론트에서 사용할 수 있게 해야함 => 설치설치설치!
#Gulp 와 gulp sass가 필요함
#Saas
#pipe
우리 파일을 파이프로 보낼것임
#static 폴더
Static is for files sent to the user, like images, css and client side JS
#browserify
Auto Prefixer다운 => 모든 브라우저가 이해할 수 있도록
> yarn add gulp-autoprefixer
> yarn add gulp-csso
#del delete folder
>yarn add del
#browserify
gulp browserify 검색
> yarn add babelify