ember-tribe 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,17 @@
1
1
  import { defineConfig } from 'vite';
2
+ import { extensions, classicEmberSupport, ember } from '@embroider/vite';
3
+ import { babel } from '@rollup/plugin-babel';
2
4
  import { VitePWA } from 'vite-plugin-pwa';
3
5
 
4
6
  export default defineConfig({
5
7
  plugins: [
6
- // ...your other Ember/Vite plugins
8
+ classicEmberSupport(),
9
+ ember(),
10
+ // extra plugins here
11
+ babel({
12
+ babelHelpers: 'runtime',
13
+ extensions,
14
+ }),
7
15
 
8
16
  VitePWA({
9
17
  registerType: 'autoUpdate',
@@ -37,7 +45,6 @@ export default defineConfig({
37
45
  devOptions: {
38
46
  enabled: true,
39
47
  },
40
- })
41
- ]
42
- })
43
-
48
+ }),
49
+ ],
50
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-tribe",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "The default blueprint for ember-cli addons.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -1,20 +0,0 @@
1
- 'use strict';
2
- require('dotenv').config();
3
-
4
- const { compatBuild } = require('@embroider/compat');
5
- const EmberApp = require('ember-cli/lib/broccoli/ember-app');
6
-
7
- module.exports = async function (defaults) {
8
- const { buildOnce } = await import('@embroider/vite');
9
-
10
- const app = new EmberApp(defaults, {
11
- emberData: {
12
- deprecations: { DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false }
13
- }
14
- });
15
-
16
- return compatBuild(app, buildOnce, {
17
- staticInvokables: true, // this is the default so you don't need to set it
18
- splitAtRoutes: ['route.name'], // can also be a RegExp
19
- );
20
- };