Skip to content

Commit 06f31d0

Browse files
committed
add tailwind and postcss configs
1 parent d1b7c13 commit 06f31d0

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

postcss.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
/*
3+
CPAL-1.0 License
4+
5+
The contents of this file are subject to the Common Public Attribution License
6+
Version 1.0. (the "License"); you may not use this file except in compliance
7+
with the License. You may obtain a copy of the License at
8+
https://github.com/ir-engine/ir-engine/blob/dev/LICENSE.
9+
The License is based on the Mozilla Public License Version 1.1, but Sections 14
10+
and 15 have been added to cover use of software over a computer network and
11+
provide for limited attribution for the Original Developer. In addition,
12+
Exhibit A has been modified to be consistent with Exhibit B.
13+
14+
Software distributed under the License is distributed on an "AS IS" basis,
15+
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
16+
specific language governing rights and limitations under the License.
17+
18+
The Original Code is Infinite Reality Engine.
19+
20+
The Original Developer is the Initial Developer. The Initial Developer of the
21+
Original Code is the Infinite Reality Engine team.
22+
23+
All portions of the code written by the Infinite Reality Engine team are Copyright © 2021-2023
24+
Infinite Reality Engine. All Rights Reserved.
25+
*/
26+
27+
28+
module.exports = {
29+
plugins: {
30+
tailwindcss: import('tailwindcss'),
31+
autoprefixer: import('autoprefixer'),
32+
},
33+
}

tailwind.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
CPAL-1.0 License
3+
4+
The contents of this file are subject to the Common Public Attribution License
5+
Version 1.0. (the "License"); you may not use this file except in compliance
6+
with the License. You may obtain a copy of the License at
7+
https://github.com/ir-engine/ir-engine/blob/dev/LICENSE.
8+
The License is based on the Mozilla Public License Version 1.1, but Sections 14
9+
and 15 have been added to cover use of software over a computer network and
10+
provide for limited attribution for the Original Developer. In addition,
11+
Exhibit A has been modified to be consistent with Exhibit B.
12+
13+
Software distributed under the License is distributed on an "AS IS" basis,
14+
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
15+
specific language governing rights and limitations under the License.
16+
17+
The Original Code is Infinite Reality Engine.
18+
19+
The Original Developer is the Initial Developer. The Initial Developer of the
20+
Original Code is the Infinite Reality Engine team.
21+
22+
All portions of the code written by the Infinite Reality Engine team are Copyright © 2021-2023
23+
Infinite Reality Engine. All Rights Reserved.
24+
*/
25+
26+
import tailwindConfig from '../../../../../tailwind.config'
27+
28+
const newConfig = structuredClone(tailwindConfig)
29+
newConfig.content = newConfig.content.map((a) => a.replace('../', '../../../../'))
30+
31+
module.exports = {
32+
...newConfig
33+
}

0 commit comments

Comments
 (0)