cartodb/webpack/common/alias.js

12 lines
669 B
JavaScript
Raw Normal View History

2020-06-15 10:58:47 +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'
};