Skip to content
  • This project
    • Loading...
  • Sign in

chenxiang / legao-desktop

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • legao-desktop
  • webpack.main.js
  • cx19940809's avatar
    first-commit · a6e4ddd9
    cx19940809 committed 2024-08-06 20:12:12 +0800
    a6e4ddd9 Browse Files
webpack.main.js 391 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
const path = require('path');

const makeConfig = require('./webpack.makeConfig.js');

module.exports = defaultConfig =>
    makeConfig(
        defaultConfig,
        {
            name: 'main',
            useReact: false,
            disableDefaultRulesForExtensions: ['js'],
            babelPaths: [
                path.resolve(__dirname, 'src', 'main')
            ]
        }
    );