mirror of https://github.com/msgbyte/tailchat
refactor(cli): update template config
parent
7c02848214
commit
f29352dd87
@ -1,7 +1,17 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
|
const pluginRoot = path.resolve(__dirname, './web');
|
||||||
|
const outDir = path.resolve(__dirname, '../../public');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
externalDeps: ['react', 'react-router', 'axios', 'styled-components', 'zustand', 'zustand/middleware/immer'],
|
externalDeps: [
|
||||||
pluginRoot: path.resolve(__dirname, './web'),
|
'react',
|
||||||
outDir: path.resolve(__dirname, '../../public'),
|
'react-router',
|
||||||
|
'axios',
|
||||||
|
'styled-components',
|
||||||
|
'zustand',
|
||||||
|
'zustand/middleware/immer'
|
||||||
|
],
|
||||||
|
pluginRoot,
|
||||||
|
outDir,
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,17 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
|
const pluginRoot = path.resolve(__dirname, './web');
|
||||||
|
const outDir = path.resolve(__dirname, '../../public');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
externalDeps: ['react', 'react-router', 'axios', 'styled-components', 'zustand', 'zustand/middleware/immer'],
|
externalDeps: [
|
||||||
pluginRoot: path.resolve(__dirname, './web'),
|
'react',
|
||||||
outDir: path.resolve(__dirname, '../../public'),
|
'react-router',
|
||||||
|
'axios',
|
||||||
|
'styled-components',
|
||||||
|
'zustand',
|
||||||
|
'zustand/middleware/immer'
|
||||||
|
],
|
||||||
|
pluginRoot,
|
||||||
|
outDir,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue