mirror of
https://github.com/fullstack-cash/wallet.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
17 lines
464 B
JavaScript
17 lines
464 B
JavaScript
const path = require('path')
|
|
// const webpack = require('webpack')
|
|
exports.onCreateWebpackConfig = ({ stage, actions, getConfig, plugins }) => {
|
|
// console.log('stage', stage)
|
|
// console.log('actions', actions)
|
|
// console.log('getConfig', getConfig)
|
|
|
|
// https://webpack.js.org/configuration/resolve/
|
|
actions.setWebpackConfig({
|
|
resolve: {
|
|
alias: {
|
|
'adminlte-2-react': path.resolve('./node_modules/adminlte-2-react')
|
|
}
|
|
}
|
|
})
|
|
}
|