Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
rayan1810 committed Oct 10, 2023
1 parent b1ea8a8 commit 174afbd
Show file tree
Hide file tree
Showing 11 changed files with 21,927 additions and 1,887 deletions.
27 changes: 15 additions & 12 deletions example/ui-examples/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,8 @@ module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
// modules: false,
plugins: [
// [
// myBabel,
// {
// configPath: path.join(__dirname, './gluestack-ui.config.ts'),
// configThemePath: ['theme'],
// styled: [
// '@gluestack-style/react',
// path.join(__dirname, '../../packages/react/src'),
// ],
// components: ['@gluesatck-ui/themed'],
// },
// ],
[
'module-resolver',
{
Expand Down Expand Up @@ -58,6 +47,20 @@ module.exports = function (api) {
},
},
],
// '@babel/plugin-transform-runtime',
// '@babel/plugin-transform-modules-commonjs',
[
myBabel,
// {
// configPath: path.join(__dirname, './gluestack-ui.config.ts'),
// configThemePath: ['theme'],
// styled: [
// '@gluestack-style/react',
// path.join(__dirname, '../../packages/react/src'),
// ],
// components: ['@gluesatck-ui/themed'],
// },
],
],
};
};
13 changes: 13 additions & 0 deletions example/ui-examples/output.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

var myConfig = {
MyConfigOverride: 'some-other-value',
MyConfigOverrideANd: 'some-other-value',
};

const newConfig = {
...myConfig,
MyConfigOverride: 'some-value',
};

module.exports = newConfig;
Loading

0 comments on commit 174afbd

Please sign in to comment.