* test: replacing snapshot tests with rtl tests part 5 * test: removig extra tests * test: snaps update * test: adding import shorthand and turning tests into ts * docs: clarify which line the comment is about --------- Co-authored-by: Braden MacDonald <braden@opencraft.com>
20 lines
540 B
JavaScript
20 lines
540 B
JavaScript
const path = require('path');
|
|
const { createConfig } = require('@openedx/frontend-build');
|
|
|
|
const config = createConfig('webpack-dev', {
|
|
resolve: {
|
|
alias: {
|
|
// Within this app, we can use '@src/foo instead of relative URLs like '../../../foo'
|
|
'@src': path.resolve(__dirname, 'src/'),
|
|
// Plugins can use 'CourseAuthoring' as an import alias for this app:
|
|
CourseAuthoring: path.resolve(__dirname, 'src/'),
|
|
},
|
|
fallback: {
|
|
fs: false,
|
|
constants: false,
|
|
},
|
|
},
|
|
});
|
|
|
|
module.exports = config;
|