لقد قمت بتنزيل كافة الحزم اللازمة من خلال npm وتم انشاء ملف dist ولكن من المفروض ان اي تعديل اقوم به داخل ملفات src يتم تعديله تلقائيا داخل ملفات index.html ; style.css الموجودة في dist ولكنها لا تتحدث وعند اجراء الامر npm run build لا يوجد اي خطا
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\coffee>npm run build
> coffee@1.0.0 build C:\coffee
> webpack serve
(node:2528) [DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS] DeprecationWarning:
optimizeChunkAssets is deprecated (use Compilation.hooks.processAssets instead a
nd use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)
(Use `node --trace-deprecation ...` to show where the warning was created)
i ?wds?: Project is running at http://localhost:8080/
i ?wds?: webpack output is served from
i ?wds?: Content not from webpack is served from C:\coffee
i ?wdm?: asset main.js 1.81 MiB [emitted] (name: main)
asset css/style.css 157 KiB [emitted] (name: main)
asset index.html 990 bytes [emitted]
Entrypoint main 1.97 MiB = css/style.css 157 KiB main.js 1.81 MiB
runtime modules 1.25 KiB 6 modules
orphan modules 19.4 KiB [orphan] 1 module
modules by path ./node_modules/@popperjs/core/lib/ 74 KiB 58 modules
modules by path ./node_modules/webpack-dev-server/client/ 20.9 KiB 10 modules
modules by path ./node_modules/html-entities/lib/*.js 61 KiB 5 modules
modules by path ./src/ 315 bytes (javascript) 56 bytes (css/mini-extract) 3 modu
les
modules by path ./node_modules/webpack/hot/ 1.58 KiB 3 modules
modules by path ./node_modules/url/ 37.4 KiB 3 modules
modules by path ./node_modules/querystring/*.js 4.51 KiB 3 modules
modules by path ./node_modules/@laylazi/bootstrap-rtl/dist/css/*.css 50 bytes (j
avascript) 159 KiB (css/mini-extract)
./node_modules/@laylazi/bootstrap-rtl/dist/css/bootstrap-rtl.min.css 50 bytes
[built]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@laylazi/bootstrap-rt
l/dist/css/bootstrap-rtl.min.css 159 KiB [built] [code generated]
9 modules
webpack 5.50.0 compiled successfully in 13092 ms
i ?wdm?: Compiled successfully.
السؤال
Najah Alsaker
لقد قمت بتنزيل كافة الحزم اللازمة من خلال npm وتم انشاء ملف dist ولكن من المفروض ان اي تعديل اقوم به داخل ملفات src يتم تعديله تلقائيا داخل ملفات index.html ; style.css الموجودة في dist ولكنها لا تتحدث وعند اجراء الامر npm run build لا يوجد اي خطا
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\coffee>npm run build
> coffee@1.0.0 build C:\coffee
> webpack serve
(node:2528) [DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS] DeprecationWarning:
optimizeChunkAssets is deprecated (use Compilation.hooks.processAssets instead a
nd use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)
(Use `node --trace-deprecation ...` to show where the warning was created)
i ?wds?: Project is running at http://localhost:8080/
i ?wds?: webpack output is served from
i ?wds?: Content not from webpack is served from C:\coffee
i ?wdm?: asset main.js 1.81 MiB [emitted] (name: main)
asset css/style.css 157 KiB [emitted] (name: main)
asset index.html 990 bytes [emitted]
Entrypoint main 1.97 MiB = css/style.css 157 KiB main.js 1.81 MiB
runtime modules 1.25 KiB 6 modules
orphan modules 19.4 KiB [orphan] 1 module
modules by path ./node_modules/@popperjs/core/lib/ 74 KiB 58 modules
modules by path ./node_modules/webpack-dev-server/client/ 20.9 KiB 10 modules
modules by path ./node_modules/html-entities/lib/*.js 61 KiB 5 modules
modules by path ./src/ 315 bytes (javascript) 56 bytes (css/mini-extract) 3 modu
les
modules by path ./node_modules/webpack/hot/ 1.58 KiB 3 modules
modules by path ./node_modules/url/ 37.4 KiB 3 modules
modules by path ./node_modules/querystring/*.js 4.51 KiB 3 modules
modules by path ./node_modules/@laylazi/bootstrap-rtl/dist/css/*.css 50 bytes (j
avascript) 159 KiB (css/mini-extract)
./node_modules/@laylazi/bootstrap-rtl/dist/css/bootstrap-rtl.min.css 50 bytes
[built]
توضيح السؤال
6 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.