nhn / toast-ui.react-calendar

TOAST UI Calendar wrapper for React.js
MIT License
168 stars 43 forks source link

Bundle with Webpack 5 (Create React App 5) resolve warning #67

Open rexpan opened 2 years ago

rexpan commented 2 years ago

Version

1.15.3

Test Environment

Windows 10, Chrome 100

Current Behavior

Bundle with Webpack 5.69.1 (Create React App for example) return warning

WARNING in ./node_modules/.pnpm/tui-calendar@1.15.3/node_modules/tui-calendar/dist/tui-calendar.js
Module Warning (from ./node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.69.1/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map: 'webpack://tui.Calendar/webpack/universalModuleDefinition' URL is not supported
 @ ./node_modules/.pnpm/@toast-ui+react-calendar@1.0.6_react@17.0.2/node_modules/@toast-ui/react-calendar/dist/toastui-react-calendar.js 49:14-37

Expected Behavior

No warning message

adhrinae commented 2 years ago

@rexpan Thanks for the report. So everything is working except the source map, right?

rexpan commented 2 years ago

Yup, It is just a warning so this issue is not critical.

adhrinae commented 2 years ago

@rexpan Ok. I'll find a way to resolve it while developing the next major version.