Nuxt/test/fixtures/with-config/plugins/offline.js
2017-04-17 15:58:18 +02:00

5 lines
129 B
JavaScript

if (process.env.NODE_ENV === 'production') {
var OfflinePlugin = require('offline-plugin/runtime')
OfflinePlugin.install()
}