-
카테고리
-
해결 여부
미해결
$ webpack app/index.js dist/bundle.js
20.02.07 14:24 작성 조회수 152
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
안됩니다..
답변을 작성해보세요.
1
0
장기효(캡틴판교)
지식공유자2020.02.07
ㅜㅜ 고생이 많으셨네요 준호님, 진행하실 때 막히는 부분은 일단 https://joshua1988.github.io/webpack-guide/guide.html 이 문서를 최대한 참고해주시고 리뉴얼 강의는 빨리 올리겠습니다..! 감사합니다 :)
0
장기효(캡틴판교)
지식공유자2020.02.07
안녕하세요 준호님, `package.json` 파일에 아래와 같이 정리한 후 `npm run build`를 실행해보시겠어요?
"scripts": {
"build": "webpack"
},
답변 3