nhn / toast-ui.vue-calendar

Toast UI Calendar for Vue
MIT License
195 stars 54 forks source link

When adding calendars to externals in webpack and using CDN acceleration, calendars are added to dependency packages #34

Closed umbrella22 closed 5 years ago

umbrella22 commented 5 years ago

Version

@toast-ui/vue-calendar": "^1.1.0"

Test Environment

OS:linux,windows,macos; Webpack:webpack4.39.1; Browser:chrome;

Current Behavior

// Write example code
    externals: {
        vue: 'Vue',
        echarts: 'echarts',
        'element-ui': 'ELEMENT',
        'tuiCalendar': 'Calendar',
    },

1

As you can see in the figure, the calendar is still packaged, but I have excluded the packaging of the calendar in webpack, so is this the problem of webpack? Or?

Expected Behavior

Exclude calendars from dependencies