cesium webpack warning

1. A concise explanation of the problem you're experiencing.

I configured webpack and cesium according to the official website tutorial.
But there are three warnings in the process of operation:

WARNING Compiled with 3 warnings 19:43:45

warning in ./node_modules/_cesium@1.46.1@cesium/Source/Core/TaskProcessor.js

150:80-87 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

warning in ./node_modules/_cesium@1.46.1@cesium/Source/Core/buildModuleUrl.js

56:15-22 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

warning in ./node_modules/_cesium@1.46.1@cesium/Source/Core/buildModuleUrl.js

83:77-84 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

How to solve these warnings? How will these warnings affect the development environment or the compilation environment?

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

I configure the webpack and cesium:

https://github.com/ShareQiu1994/CesiumWebpackVueCli

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I want to build a framework based on webpack, cesium and Vue

4. The Cesium version you're using, your operating system and browser.

cesium 1.46
chrome 63
                                                                 Thanks Liu

Hi there,

The warnings are there because Cesium has some different code paths that may execute depending on the environment. They will not execute when running in webpack, so they will not affect your development.

Thanks,

Gabby