1 | // In case somebody accidentally bundles
|
2 | // a script that requires 'texel/routes',
|
3 | // we don't want to break their app, but
|
4 | // we can warn them about the issue.
|
5 |
|
6 | module.exports = {};
|
7 |
|
8 | console.warn([
|
9 | 'It looks like you have required "texel/util/routes" in one ',
|
10 | 'of your scripts, except you are not using texel to ',
|
11 | 'run and bundle your code. Use of this feature relies on the texel toolkit. ',
|
12 | 'For more details see here:\n https://www.npmjs.com/package/texel'
|
13 | ].join(''));
|