You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
951 B
39 lines
951 B
/* |
|
Copyright 2018 Google LLC |
|
|
|
Use of this source code is governed by an MIT-style |
|
license that can be found in the LICENSE file or at |
|
https://opensource.org/licenses/MIT. |
|
*/ |
|
|
|
import {assert} from 'workbox-core/_private/assert.mjs'; |
|
|
|
import {NavigationRoute} from './NavigationRoute.mjs'; |
|
import {RegExpRoute} from './RegExpRoute.mjs'; |
|
import {registerNavigationRoute} from './registerNavigationRoute.mjs'; |
|
import {registerRoute} from './registerRoute.mjs'; |
|
import {Route} from './Route.mjs'; |
|
import {Router} from './Router.mjs'; |
|
import {setCatchHandler} from './setCatchHandler.mjs'; |
|
import {setDefaultHandler} from './setDefaultHandler.mjs'; |
|
|
|
import './_version.mjs'; |
|
|
|
if (process.env.NODE_ENV !== 'production') { |
|
assert.isSWEnv('workbox-routing'); |
|
} |
|
|
|
/** |
|
* @namespace workbox.routing |
|
*/ |
|
|
|
export { |
|
NavigationRoute, |
|
RegExpRoute, |
|
registerNavigationRoute, |
|
registerRoute, |
|
Route, |
|
Router, |
|
setCatchHandler, |
|
setDefaultHandler, |
|
};
|
|
|