Skip to content

Commit f31cf3e

Browse files
committed
Replace .bs.js with preferred .res.js
1 parent e0fbe43 commit f31cf3e

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.prettierignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec/dummy/lib/bs/**
1111
spec/dummy/public
1212
**/.yalc/**
1313
**/generated/**
14-
*.bs.js
14+
*.res.js

spec/dummy/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ yarn-debug.log*
3434
/.merlin
3535
/lib/bs/
3636
/.bsb.lock
37-
*.bs.js
37+
*.res.js
3838

3939
# File Generated by ROR FS-based Registry
4040
**/generated

spec/dummy/.prettierignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
node_modules
22
public/webpack/
3-
*.bs.js
3+
*.res.js
44
lib/bs/**
55

66
# File Generated by ROR FS-based Registry
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file is used to import your compiled rescript files
2-
// As per the current configuration, all files are compiled to .bs.js
2+
// As per the current configuration, all files are compiled to .res.js
33
// and they are generated on the same directory as the .res file
44

5-
import HelloWorldReScript from '../components/HelloWorldReScript.bs.js';
5+
import HelloWorldReScript from '../components/HelloWorldReScript.res.js';
66

77
export { HelloWorldReScript };
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import HelloWorldReScript from '../components/HelloWorldReScript.bs.js';
1+
import HelloWorldReScript from '../components/HelloWorldReScript.res.js';
22

33
export default HelloWorldReScript;

spec/dummy/rescript.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88
],
99
"jsx": { "version": 4 },
10-
"suffix": ".bs.js",
10+
"suffix": ".res.js",
1111
"package-specs": [
1212
{
1313
"module": "esmodule",

0 commit comments

Comments
 (0)