diff --git a/ui-admin/design/server.js b/ui-admin/design/server.js index 40482f80..c1abf6af 100644 --- a/ui-admin/design/server.js +++ b/ui-admin/design/server.js @@ -1,5 +1,5 @@ -const express = require('express') -const cors = require('cors') +import express from 'express' +import cors from 'cors' const app = express() const port = 3000 diff --git a/ui-parts/design/server.js b/ui-parts/design/server.js index 40482f80..c1abf6af 100644 --- a/ui-parts/design/server.js +++ b/ui-parts/design/server.js @@ -1,5 +1,5 @@ -const express = require('express') -const cors = require('cors') +import express from 'express' +import cors from 'cors' const app = express() const port = 3000 diff --git a/ui/design/server.js b/ui/design/server.js index c1a226b7..f34d326e 100644 --- a/ui/design/server.js +++ b/ui/design/server.js @@ -1,4 +1,4 @@ -const express = require('express') +import express from 'express' const app = express() const port = 3000