require.conf.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * Copyright © Magento, Inc. All rights reserved.
  3. * See COPYING.txt for license details.
  4. */
  5. 'use strict';
  6. require.config({
  7. bundles: {
  8. 'mage/requirejs/static': [
  9. 'buildTools',
  10. 'jsbuild',
  11. 'statistician',
  12. 'text'
  13. ]
  14. },
  15. paths: {
  16. 'dev/tests/js/jasmine': '../../../../../../dev/tests/js/jasmine',
  17. 'tests': '../../../../../../dev/tests/js/jasmine',
  18. 'squire': '../../../../../../node_modules/squirejs/src/Squire'
  19. },
  20. shim: {
  21. squire: {
  22. exports: 'squire'
  23. }
  24. },
  25. config: {
  26. jsbuild: {
  27. '../../../../../../dev/tests/js/jasmine/assets/jsbuild/local.js': 'define([], function () {\'use strict\'; return \'internal module\'; });'
  28. },
  29. text: {
  30. '../../../../../../dev/tests/js/jasmine/assets/text/local.html': '<!--\n/**\n * Copyright © Magento, Inc. All rights reserved.\n * See COPYING.txt for license details.\n */\n-->\n<span>Local Template</span>'
  31. }
  32. },
  33. deps: [
  34. 'mage/requirejs/static'
  35. ]
  36. });