cartodb-4.42/webpack/common/alias.js

12 lines
669 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
const { resolve } = require('path');
module.exports = {
'fixtures': resolve(resolve('.'), 'lib/assets/test/spec/fixtures'),
'stylesheets': resolve(resolve('.'), 'assets/stylesheets'),
'backbone/core-view$': resolve(resolve('.'), 'lib/assets/javascripts/vendor/backbone/core-view.js'),
'backbone/core-model$': resolve(resolve('.'), 'lib/assets/javascripts/vendor/backbone/core-model.js'),
'jquery-ui$': resolve(resolve('.'), 'lib/assets/javascripts/vendor/jquery-ui.js'),
'backbone': resolve(resolve('.'), 'node_modules/backbone'), // Avoid two different `backbone` modules when linking `cartodb.js` 'fixtures/dashboard'
'vue$': 'vue/dist/vue.esm.js'
};