toast-ui.react-calendar icon indicating copy to clipboard operation
toast-ui.react-calendar copied to clipboard

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

Open rexpan opened this issue 2 years ago • 3 comments

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/[email protected]/node_modules/tui-calendar/dist/tui-calendar.js
Module Warning (from ./node_modules/.pnpm/[email protected][email protected]/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/@[email protected][email protected]/node_modules/@toast-ui/react-calendar/dist/toastui-react-calendar.js 49:14-37

Expected Behavior

No warning message

rexpan avatar Apr 02 '22 03:04 rexpan

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

adhrinae avatar Apr 04 '22 03:04 adhrinae

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

rexpan avatar Apr 04 '22 03:04 rexpan

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

adhrinae avatar Apr 08 '22 00:04 adhrinae