Created
January 25, 2019 17:48
-
-
Save ovlb/33d5f2800138bece113cc0d2ffec3e04 to your computer and use it in GitHub Desktop.
Vue Open Source: Webpack Config Entry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path') | |
module.exports = { | |
// outputDir: path.resolve(__dirname, 'dist-demo'), | |
chainWebpack: config => { | |
config | |
.entry('app') | |
.clear() | |
.add('./demo/main.js') | |
// config.resolve.alias | |
// .set('Styles', path.resolve(__dirname, 'src/styles')) | |
// .set('Demo', path.resolve(__dirname, 'demo')) | |
// .set('Source', path.resolve(__dirname, 'src')) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment