mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
feat: add simple webpack config
This commit is contained in:
parent
7116374adf
commit
2ab412e563
2 changed files with 65 additions and 0 deletions
10
lib/webpack/dev.js
Normal file
10
lib/webpack/dev.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const path = require('path');
|
||||
const createBaseConfig = require('./base');
|
||||
|
||||
module.exports = function createDevConfig(props) {
|
||||
const config = createBaseConfig(props);
|
||||
|
||||
config.entry('main').add(path.resolve(__dirname, '../core/index.js'));
|
||||
|
||||
return config;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue