soiz1's picture
Upload folder using huggingface_hub
4d70170 verified
raw
history blame
486 Bytes
const path = require('node:path')
const { createConfig } = require('@vue-devtools/build-tools')
const openInEditor = require('launch-editor-middleware')
module.exports = createConfig({
entry: {
devtools: './src/devtools.js',
},
output: {
path: path.join(__dirname, '/build'),
publicPath: '/build/',
filename: '[name].js',
},
devServer: {
port: 8091,
onBeforeSetupMiddleware({ app }) {
app.use('/__open-in-editor', openInEditor())
},
},
})