_...,
,:^;,...;
-+===;. ,,--++====++-,,, .: /.....,
:::::~+++++#:,+#++++++++++++++++++#*..: /,......
(,,,,,,::=+++##++++++++++++++++++++++#. :....../
...,,,,,::++++++++++++++++++++++++++++++*..,...:
*..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
@#,;##############@@@+*+#@@@@@@@@@@#*++#..<
*@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
@#@* @#@@@@#@@+--*^^*--#@@@@@@#
@#@. @# @##+++@#, .@@#@@
#@# @@ +@@++++#@@ @@ :@@
:@#* @#@++++++@#* #@ @@+
:*+@@#;,.__.+@#@+,-^^.++@# @@++
;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
/* ........+++++++++++++#@@@@@###@@#++++,
,: ...,@@@#++===----==@@@####,,....+++++
.: ......@@##@\ ; :@####@,,...... +++.
; .........@###, ; ;xx#@;,,..... *;+,
| ........,*;xxxx--^--=xxx,........ :+#;
; ......,,;xxxxxxxxxxxxx;,..... *+#
; ......,::xxxx;. ...... +. .
*; ......... +### .... / ,. /:| ,.
.+: ... ;##++##, . ,#. (..v..;*./
** ## ###* .:*&&&+. \.,....<,
#&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/
#&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&&
,+*+;~*..*** *.* ### ###* ******* *+#&;*
##,;## **** :, **
##### ## ### ###, ######## .##### ;## ##
####### ;## #### ,###. ########## ######## ### ####
### ### ### ########## #### #### ,## ### #######*
### ,### ##############: ## ### #### ,## :#### ### ##;
########## ########### ## .## ,### ####### ##### :######
###### .###### #### ## ### ### ######* :##### ####
############# #### ################ ######## ###
#####* *#* #: :### *###* *#### #*
28 lines
745 B
JavaScript
28 lines
745 B
JavaScript
import loadConfigFromMeta from '@embroider/config-meta-loader';
|
|
import { assert } from '@ember/debug';
|
|
|
|
const config = loadConfigFromMeta('dashtab');
|
|
|
|
assert(
|
|
'config is not an object',
|
|
typeof config === 'object' && config !== null
|
|
);
|
|
assert(
|
|
'modulePrefix was not detected on your config',
|
|
'modulePrefix' in config && typeof config.modulePrefix === 'string'
|
|
);
|
|
assert(
|
|
'locationType was not detected on your config',
|
|
'locationType' in config && typeof config.locationType === 'string'
|
|
);
|
|
assert(
|
|
'rootURL was not detected on your config',
|
|
'rootURL' in config && typeof config.rootURL === 'string'
|
|
);
|
|
assert(
|
|
'APP was not detected on your config',
|
|
'APP' in config && typeof config.APP === 'object'
|
|
);
|
|
|
|
export default config;
|