@imtf/profile-scripts 1.0.5 → 1.0.6

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,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const spawn = require('cross-spawn')
4
3
  const concurrently = require('concurrently')
4
+ const spawn = require('cross-spawn')
5
5
 
6
6
  const args = process.argv.slice(2)
7
- const scriptIndex = args.findIndex((x) => x === 'build' || x === 'start')
7
+ const scriptIndex = args.findIndex(x => x === 'build' || x === 'start')
8
8
  const script = scriptIndex === -1 ? args[0] : args[scriptIndex]
9
9
 
10
10
  const scriptPath = require.resolve(`../scripts/esbuild.mjs`)
package/changelog.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Here you can find a resume of all changes between versions.
4
4
 
5
+ ## 1.0.6
6
+
7
+ ### Features
8
+
9
+ - Load css (.css) as text (they are no longer built in a separate .css files)
10
+
5
11
  ## 1.0.5
6
12
 
7
13
  ### Bug fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imtf/profile-scripts",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Default scripts to bundle & transpile imtf front-end plugins",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -26,9 +26,9 @@ build({
26
26
  minify:
27
27
  process.env.NODE_ENV === 'production' &&
28
28
  process.env.IMTF_MINIFY_WEBAPP !== 'false',
29
- // jsx: 'transform',
30
29
  loader: {
31
30
  // Enable JSX in .js files too
31
+ '.css': 'text',
32
32
  '.js': 'jsx',
33
33
  // Embed fonts
34
34
  '.eot': 'dataurl',