Skip to content

Commit

Permalink
Don't use pre-minified Vue version
Browse files Browse the repository at this point in the history
That makes source maps unreadable (function names are already minified).

Signed-off-by: Silvio Moioli <[email protected]>
  • Loading branch information
moio committed Oct 21, 2024
1 parent 37abd4d commit 3d3f12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ module.exports = function(dir, _appConfig) {
config.resolve.alias['@pkg'] = path.join(dir, 'pkg');
config.resolve.alias['./node_modules'] = path.join(dir, 'node_modules');
config.resolve.alias['@components'] = COMPONENTS_DIR;
config.resolve.alias['vue$'] = path.resolve(process.cwd(), 'node_modules', 'vue', 'dist', dev ? 'vue.js' : 'vue.min.js');
config.resolve.alias['vue$'] = path.resolve(process.cwd(), 'node_modules', 'vue', 'dist', 'vue.js');
config.resolve.modules.push(__dirname);
config.plugins.push(getVirtualModules(dir, includePkg));
config.plugins.push(getAutoImport());
Expand Down

0 comments on commit 3d3f12f

Please sign in to comment.