Topic: How can I build MDB assets from source - calendar plugin specifically
mmahony1 priority asked 2 years ago
I would like to extend the MDB Calendar plugin to modify some of its base functionality, however I am having trouble building the official mdbootstrap release of the code from scratch with npm run build
The repo does not include a webpack.config.js or any build scripts in package.json and the settings I am using are not generating the expected output.
What should my webpack.config.js and package.json (or any other build files) look like in order to build from source with webpack or other recommended build tool?
My package.json includes:
..., "scripts": {
"build": "webpack"
}, ...
and my webpack.config.js is: module.exports = {
entry: './src/js/calendar.js',
output: {
filename: 'calendar.min.js'
}
};
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: MDB4 4.20.0
- Device: PC
- Browser: Any
- OS: Windows
- Provided sample code: Yes
- Provided link: No
Mikołaj Smoleński staff commented 2 years ago
Unfortunately we do not provide configuration files for our plugins. Any operation on the source code may only be performed at your own risk.