인프런 커뮤니티 질문&답변
$ webpack app/index.js dist/bundle.js
작성
·
286
1
$ webpack app/index.js dist/bundle.js하면
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.output.path: The provided value "" is not an absolute path!
-> The output directory as **absolute path** (required).
경로 에러가 나는데
/d/github/LearnWebpack/getting-started/app
안됩니다..
답변 3
1
0
장기효(캡틴판교)
지식공유자
ㅜㅜ 고생이 많으셨네요 준호님, 진행하실 때 막히는 부분은 일단 https://joshua1988.github.io/webpack-guide/guide.html 이 문서를 최대한 참고해주시고 리뉴얼 강의는 빨리 올리겠습니다..! 감사합니다 :)
0
장기효(캡틴판교)
지식공유자
안녕하세요 준호님, `package.json` 파일에 아래와 같이 정리한 후 `npm run build`를 실행해보시겠어요?
"scripts": {
"build": "webpack"
},





